#20788 [Opn->Bgs]: Improper timezone generation?
| From: | sniper@php.net | Date: | Tue, 03 Dec 2002 13:05:31 +0000 |
| Subject: | #20788 [Opn->Bgs]: Improper timezone generation? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26506@lists.php.net to get a copy of this message | ||
ID: 20788
Updated by: sniper@php.net
Reported By: john@php.net
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: Windows / Linux
PHP Version: 4.2.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2002-12-03 07:01:39] john@php.net
I'm not sure if this is a doc bug, a Windows bug or perhaps it's not an
issue. Basically:
echo gmdate('T'); // date() could have been used
produces on Linux:
GMT
while on Windows:
GMT Standard Time
The same thing applies for other timezones:
EST (linux) -> Eastern Standard Time
This is an issue for a number of reasons:
1) The docs specify date('T') as producing only three-letter timezones
(EST, etc).
2) This behavior may screw up things like setcookie() (where I ran into
it)...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20788&edit=1