|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-09 22:23 UTC] derick@php.net
[2007-12-09 23:01 UTC] andrew at confirmalert dot com dot au
[2007-12-10 08:16 UTC] derick@php.net
[2007-12-10 10:05 UTC] andrew at confirmalert dot com dot au
[2007-12-10 10:15 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 23:00:02 2025 UTC |
Description: ------------ OK. I can reproduce this bug. The previous ticket was closed prematurely and with an incorrect status. So there is no doubt or miscommunication I have re-run the test on the same machine using the two versions of PHP. The results are the still the same as originally reported in bug '42755 date() returns incorrect time by +1 hour'. Reproduce code: --------------- ====== code - test1.php ====== <?php echo date("Y-m-d @ g:i", 1190671200); ?> Expected result: ---------------- ====== result using php 5.0.3 ====== C:\PHP>php test1.php 2007-09-24 @ 10:00 C:\PHP>php --version PHP 5.0.3 (cli) (built: Dec 15 2004 08:07:57) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies Actual result: -------------- ====== result using php 5.2.5 ====== C:\php-5.2.5>php test1.php 2007-09-24 @ 11:00 C:\php-5.2.5>php --version PHP 5.2.5 (cli) (built: Nov 8 2007 23:18:51) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies