#32015 [NEW]: StrtoTime Function Giving Different Timestamps in different versions

From: Date: Fri, 18 Feb 2005 03:09:35 +0000
Subject: #32015 [NEW]: StrtoTime Function Giving Different Timestamps in different versions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74254@lists.php.net to get a copy of this message
From: rj at meadowbrook dot net Operating system: Linux PHP version: 5.0.2 PHP Bug Type: *Calendar problems Bug description: StrtoTime Function Giving Different Timestamps in different versions Description: ------------ The exact same function produces two different timestamp results: PHP 4.3.2 strtotime('12/01/04 9:00 AM'); produces 1101909600 PHP 5.0.2 strtotime('12/01/04 9:00 AM'); produces 1101909622 Any combination produces a result 22 seconds less in 5.0.2 that the result in 4.3.2 Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a -- Edit bug report at http://bugs.php.net/?id=32015&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32015&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32015&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32015&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32015&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32015&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32015&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32015&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32015&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32015&r=support Expected behavior: http://bugs.php.net/fix.php?id=32015&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32015&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32015&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32015&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32015&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32015&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32015&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32015&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32015&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32015&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32015&r=mysqlcfg

« previous php.bugs (#74254) next »