|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60581 Russia have no summer/winter offset from 2011
Submitted: 2011-12-20 22:33 UTC Modified: 2016-06-14 12:00 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: ion at 66 dot ru Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: 5.3.8 OS: ubuntu
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: ion at 66 dot ru
New email:
PHP Version: OS:


 [2011-12-20 22:33 UTC] ion at 66 dot ru
Russia have no summer/winter offset from 2011

Test script:
$winter = new DateTime('2012-12-21', new DateTimeZone('Europe/Moscow'));
$summer = new DateTime('2012-04-21', new DateTimeZone('Europe/Moscow'));

$tz[winter]= ($winter->getOffset())/60/60;
$tz[summer]= ($summer->getOffset())/60/60;
echo $tz[diff];

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-29 01:13 UTC] hanskrentel at yahoo dot de
Which version of the timezonedb are you using in that example? 

see as well
 [2011-12-29 05:21 UTC] ion at 66 dot ru
 [2016-06-14 12:00 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-06-14 12:00 UTC]
This issue has already been resolved in the meantime, see
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 10:01:35 2024 UTC