|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-24 21:13 UTC] derick@php.net
[2006-10-25 21:00 UTC] julianoa at webcorensp dot org dot br
[2006-10-27 17:49 UTC] julianoa at webcorensp dot org dot br
[2006-10-27 18:12 UTC] derick@php.net
[2006-10-27 18:49 UTC] julianoa at webcorensp dot org dot br
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 01:00:01 2025 UTC |
Description: ------------ Every year my DST settings change, and I need to reconfigure my zone file DST start and ending times in all my servers (BSD, Linux and Windows). I make the changes correctly to turn DST on in Nov 5 (default was Oct 15), every linux system accepted that change (including Apache), but php date command returns my time with DST on. This problem doesn?t occur in a Windows Server, in this machine PHP returns time correctly. Reproduce code: --------------- echo date("l, d F Y, H:i - T - I") returns DST turned on. (after Oct 15 and before Nov 5) zdump zone file (Brazil/East) Brazil/East Sun Nov 5 02:59:59 2006 UTC = Sat Nov 4 23:59:59 2006 BRT isdst=0 gmtoff=-10800 Brazil/East Sun Nov 5 03:00:00 2006 UTC = Sun Nov 5 01:00:00 2006 BRT isdst=1 gmtoff=-7200 Brazil/East Sun Feb 25 01:59:59 2007 UTC = Sat Feb 24 23:59:59 2007 BRT isdst=1 gmtoff=-7200 Brazil/East Sun Feb 25 02:00:00 2007 UTC = Sat Feb 24 23:00:00 2007 BRT isdst=0 gmtoff=-10800