#39249 [Opn->WFx]: DST Issue
| From: | derick@php.net | Date: | Tue, 24 Oct 2006 21:13:11 +0000 |
| Subject: | #39249 [Opn->WFx]: DST Issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103949@lists.php.net to get a copy of this message | ||
ID: 39249
Updated by: derick@php.net
Reported By: julianoa at webcorensp dot org dot br
-Status: Open
+Status: Wont fix
-Bug Type: Systems problem
+Bug Type: Date/time related
Operating System: Linux - FreeBSD
-PHP Version: Irrelevant
+PHP Version: 5*
New Comment:
Install http://pecl.php.net/timezonedb which has all
the latest
definitions.
Previous Comments:
------------------------------------------------------------------------
[2006-10-24 19:40:27] julianoa at webcorensp dot org dot br
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39249&edit=1