#22018 [Asn->Csd]: daylight savings time parameter works wrong
| From: | k.schroeder@php.net | Date: | Sun, 09 Feb 2003 21:22:29 +0000 |
| Subject: | #22018 [Asn->Csd]: daylight savings time parameter works wrong | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32599@lists.php.net to get a copy of this message | ||
ID: 22018
Updated by: k.schroeder@php.net
Reported By: k.schroeder@php.net
-Status: Assigned
+Status: Closed
Bug Type: Date/time related
Operating System: Windows 2000 Server
PHP Version: 4CVS-2003-02-02 (stable)
Assigned To: k.schroeder
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-02-05 16:15:30] sniper@php.net
I suppose you meant to assign this to yourself..
------------------------------------------------------------------------
[2003-02-02 15:27:37] k.schroeder@php.net
ext/standard/tests/time/003.phpt fails on W2k server:
diff:
008- 2000-05-29 13:00:00
008+ 2000-05-29 12:00:00
009- 2000-05-29 12:00:00
009+ 2000-05-29 11:00:00
014- 2000-04-29 13:00:00
014+ 2000-04-29 12:00:00
015- 2000-04-29 12:00:00
015+ 2000-04-29 11:00:00
coresponding lines:
echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,1))."\n";
this lines produce the expected result:
echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,-1))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,-1))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,1))."\n";
echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,-1))."\n";
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22018&edit=1