ID:               34710
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rcronin at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Date/time related
 Operating System: CentOS 4
 PHP Version:      5.1.0RC1
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[2005-10-03 04:35:44] rcronin at gmail dot com

Description:
------------
All the Etc/GMT+/- timezones display incorrect times. Example, when
Asia/Tokyo is entered as the time zone the correc time is  displayed,
Tokyo is GMT+9. When Etc/GMT+9 is entered for the time zone the time is
incorrect. Output example:

GMT: 10/03/05 02:28 AM
GMT+9 (Asia/Tokyo): 10/03/05 11:28 AM (correct)
GMT+9 (Etc/GMT+9): 10/02/05 05:28 PM

The same occures for all the Etc timezone inputs except the GMT+0
zones.

I am running CentOS 4 with PHP5.1.0RC1. date.timezone is set to
Etc/UTC, as is the server. Server clock is kept in UTC.

Reproduce code:
---------------
http://www.xotion.com/settings/

Expected result:
----------------
Time output is correct for specified time zone.

Actual result:
--------------
Time output is correct only for non-Etc time zones and
GMT+0/GMT-0/UTC/Universal.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34710&edit=1

Reply via email to