From: [EMAIL PROTECTED]
Operating system: Windows / Linux
PHP version: 4.2.2
PHP Bug Type: Date/time related
Bug description: Improper timezone generation?
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 bug report at http://bugs.php.net/?id=20788&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20788&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20788&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20788&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20788&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20788&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20788&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20788&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20788&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20788&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20788&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20788&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20788&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20788&r=isapi