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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cjyyl at 21cn dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC