php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72365 Daylight Saving Time needs to be updated for Africa/Cairo
Submitted: 2016-06-08 22:12 UTC Modified: 2016-06-16 14:11 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: fselias at gmail dot com Assigned: cmb (profile)
Status: Closed Package: timezonedb (PECL)
PHP Version: Irrelevant OS: Linux CentOS 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 25 = ?
Subscribe to this entry?

 
 [2016-06-08 22:12 UTC] fselias at gmail dot com
Description:
------------
Please update the timezonedb of PECL package for Africa/Cairo

http://www.timeanddate.com/news/time/dst-returns-to-egypt-2016.html
http://www.timeanddate.com/time/change/egypt/cairo?year=2016



Test script:
---------------
$date_time = new DateTime('2016-08-01', new DateTimeZone('Africa/Cairo')); 
echo $date_time->format('Y-m-d P, I');

It is returning "2016-08-01 +02:00, 0" and shoould returns "2016-08-01 +02:00, 1"
I have timezonedb 2016.4 installed already.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-09 17:59 UTC] cmb@php.net
The PHP timezone DB is build from IANA's time zone database[1].
timezonedb-2016-4 already bundles the latest time zone database,
so the issue should be reported to IANA (if not already happened).

[1] <https://www.iana.org/time-zones>
 [2016-06-16 12:42 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-06-16 12:42 UTC] cmb@php.net
timezonedb 2016.5 has been released yesterday. Please check with
this version.
 [2016-06-16 14:02 UTC] fselias at gmail dot com
Yes, after the update it shows 2016-08-01 +03:00, 1 as expected
The issue has been resolved
 [2016-06-16 14:11 UTC] cmb@php.net
-Status: Feedback +Status: Closed
 [2016-06-16 14:11 UTC] cmb@php.net
Fine; and thanks for the quick feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC