#40202 [Opn->Bgs]: Arizona timezone detected as America/Denver
| From: | derick@php.net | Date: | Tue, 23 Jan 2007 08:15:28 +0000 |
| Subject: | #40202 [Opn->Bgs]: Arizona timezone detected as America/Denver | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107920@lists.php.net to get a copy of this message | ||
ID: 40202
Updated by: derick@php.net
Reported By: ajb at blyler dot cc
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.2.0
New Comment:
So set the correct time zone in php.ini:
http://no.php.net/manual/en/ref.datetime.php#ini.date.timezone
Previous Comments:
------------------------------------------------------------------------
[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