#34475 [Opn->Bgs]: servers: echo date("T",time());
| From: | sniper@php.net | Date: | Mon, 12 Sep 2005 08:06:53 +0000 |
| Subject: | #34475 [Opn->Bgs]: servers: echo date("T",time()); | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84906@lists.php.net to get a copy of this message | ||
ID: 34475
Updated by: sniper@php.net
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] derick@php.net
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] sniper@php.net
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