#23302 [NEW]: strtotime("01-MAY-1982 00:00:00") returns wrong timestamp

From: Date: Tue, 22 Apr 2003 09:44:46 +0000
Subject: #23302 [NEW]: strtotime("01-MAY-1982 00:00:00") returns wrong timestamp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38057@lists.php.net to get a copy of this message
From: kchen at net4com dot com Operating system: Linux PHP version: 4.3.1 PHP Bug Type: Date/time related Bug description: strtotime("01-MAY-1982 00:00:00") returns wrong timestamp strtotime("01-MAY-1982 00:00:00") returns timestamp for 30-Apr-1981 23:30:00. This happens only for the above date, use print_r(getdate(strtotime("01-MAY-1982 00:00:00"))) to check. Any others e.g. 01-MAY-1982 01:00:00, 01-MAY-1981 00:00:00 etc work fine. -- Edit bug report at http://bugs.php.net/?id=23302&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23302&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23302&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23302&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23302&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23302&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23302&r=support Expected behavior: http://bugs.php.net/fix.php?id=23302&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23302&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23302&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23302&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23302&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23302&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23302&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23302&r=gnused

« previous php.bugs (#38057) next »