ID: 44129
Updated by: [EMAIL PROTECTED]
Reported By: protomank at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Windows XP
PHP Version: 5.2.5
New Comment:
# php -n -d date.timezone=Asia/Calcutta -r 'echo date("T");'
IST
So you're just using wrong timezone name..?
Previous Comments:
------------------------------------------------------------------------
[2008-02-15 13:12:09] protomank at gmail dot com
Description:
------------
If I set the windows timzeone to a zone with half-hour, like 5:30
(clacuttah) date('T') returns UTC.
This way I can't convert timestamps to the correct time of the machine.
Reproduce code:
---------------
date('T')
Expected result:
----------------
Asia/Calcuttah
Actual result:
--------------
UTC
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44129&edit=1