#21050 [NEW]: strtotime & time zones
From: peter@mediapoland.com
Operating system: Linux webdev 2.4.19
PHP version: 4.2.2
PHP Bug Type: Date/time related
Bug description: strtotime & time zones
Function 'strtotime' will produce 24 hour offset when prasing timezone
item.
echo (strtotime(GMT, 0)); //-86400 on Linux, 0 on win2k.
echo (strtotime(CST, 0)); //-64800 on Linux, 21600 on win2k
Peter
--
Edit bug report at http://bugs.php.net/?id=21050&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21050&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21050&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21050&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21050&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21050&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21050&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21050&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21050&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21050&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21050&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21050&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21050&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21050&r=isapi
Thread (3 messages)
- peter at mediapoland dot com