#38447 [Opn->Fbk]: one of the timezone is wrong
| From: | tony2001@php.net | Date: | Mon, 14 Aug 2006 10:40:09 +0000 |
| Subject: | #38447 [Opn->Fbk]: one of the timezone is wrong | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100755@lists.php.net to get a copy of this message | ||
ID: 38447
Updated by: tony2001@php.net
Reported By: cjyyl at 21cn dot com
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: Windows2003
PHP Version: 5.1.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-08-14 10:34:45] cjyyl at 21cn dot com
Description:
------------
I think the result of using timezone 'Asia/Tehran' is wrong, should be
GMT+3:30, not GMT+4:30. And you can view the Windows timezone control
panel or others informations, Tehran use timezone is GMT+03:30.
if(I am right){please fix it;}else{ignore;}
Thanks!
Reproduce code:
---------------
date_default_timezone_set('Asia/Tehran');
echo date('Y-m-d H:i:s e', time());
Expected result:
----------------
GMT time now is 2006-08-14 13:54:51 Asia/Tehran
Actual result:
--------------
GMT time now is 2006-08-14 14:54:51 Asia/Tehran
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38447&edit=1