ID: 40202 User updated by: ajb at blyler dot cc Reported By: ajb at blyler dot cc -Status: Bogus +Status: Open Bug Type: *General Issues Operating System: Linux PHP Version: 5.2.0 New Comment:
Setting the time zone in the php.ini file works just fine. But why doesn't php detect that /etc/localtime is set to Arizona's time zone? I would think that php would detect Arizona's time zone as America/Phoenix and not America/Denver. Since these time zones are different. Previous Comments: ------------------------------------------------------------------------ [2007-01-23 08:15:27] [EMAIL PROTECTED] So set the correct time zone in php.ini: http://no.php.net/manual/en/ref.datetime.php#ini.date.timezone ------------------------------------------------------------------------ [2007-01-23 04:41:20] ajb at blyler dot cc Description: ------------ When the timezone (/etc/localtime) is set to Arizona time a call to date_default_timezone_get() returns America/Denver. Which causes the date/time functions in php to incorrectly return date/time data since Arizona does not observe daylight savings. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40202&edit=1
