php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38447 one of the timezone is wrong
Submitted: 2006-08-14 10:34 UTC Modified: 2006-08-22 01:00 UTC
From: cjyyl at 21cn dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 5.1.4 OS: Windows2003
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-08-14 10:34 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-14 10:40 UTC] tony2001@php.net
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


 [2006-08-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC