ID: 34710 User updated by: rcronin at gmail dot com Reported By: rcronin at gmail dot com Status: Open -Bug Type: Unknown/Other Function +Bug Type: Date/time related Operating System: CentOS 4 PHP Version: 5.1.0RC1 New Comment:
Changed category. 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