|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2022 The PHP Group
All rights reserved.
Last updated: Mon Oct 03 17:05:53 2022 UTC