ID: 34475
Updated by: [EMAIL PROTECTED]
Reported By: huanguuq at 163 dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: window2003
PHP Version: 5.1.0RC2
New Comment:
If it shows UTC and you have not set it with the "date.timezone"
setting in php.ini -> it works as expected.
Previous Comments:
------------------------------------------------------------------------
[2005-09-12 10:00:20] huanguuq at 163 dot com
no,no
my OS is chinese window2003
my friend test in php 4.3.4 is right
------------------------------------------------------------------------
[2005-09-12 09:49:42] [EMAIL PROTECTED]
Works fine here...
------------------------------------------------------------------------
[2005-09-12 09:17:44] huanguuq at 163 dot com
PHP Version 5.1.0RC2-dev
<?php echo date("T",time()); ?>
Have not changed , show UTC
------------------------------------------------------------------------
[2005-09-12 08:43:05] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-09-12 08:13:45] huanguuq at 163 dot com
Description:
------------
<?php echo date("T",time()); ?>
display:
UTC
Reproduce code:
---------------
<?php echo date("T",time()); ?>
display:
UTC
Expected result:
----------------
only display:UTC
Actual result:
--------------
location time zone
Öйú±ê׼ʱ¼ä
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34475&edit=1