|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67290 Daylight Saving Time not set correctly for Africa/Cairo
Submitted: 2014-05-16 08:18 UTC Modified: 2014-05-16 10:18 UTC
From: qooban at gmail dot com Assigned: derick (profile)
Status: Closed Package: timezonedb (PECL)
PHP Version: 5.5.12 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: qooban at gmail dot com
New email:
PHP Version: OS:


 [2014-05-16 08:18 UTC] qooban at gmail dot com
This year Egypt re-introduced DST: and probably PHP Date/Time methods shall be updated according to that change.

It looks like Egypt is going to have 4 time changes this year: 

Test script:
I use the following code to get current time offset for Africa/Cairo time-zone.

  $date_time = new DateTime('now', new DateTimeZone('Africa/Cairo')); 
  echo $date_time->format('P, I');

Today (2014-05-16) it returns "+02:00, 0" when it shall return "+03:00, 1".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-16 10:18 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: derick
 [2014-05-16 10:18 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

This is already fixed in the latest release of the timezonedb (—released 3 days ago. This package is a drop in replacement meant to provide updates for short-notice DST changes (like Egypt did this year).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 20:01:31 2024 UTC