#32804 [NEW]: timestamp april's wrong result
| From: | ygomez at hotmail dot com | Date: | Sat, 23 Apr 2005 16:28:26 +0000 |
| Subject: | #32804 [NEW]: timestamp april's wrong result | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78077@lists.php.net to get a copy of this message | ||
From: ygomez at hotmail dot com
Operating system: Win (xp, 2k)
PHP version: 4.3.10
PHP Bug Type: Date/time related
Bug description: timestamp april's wrong result
Description:
------------
This error only came about in April 2005 at 2:00. I got 1 hr missing on
timestamp result and affect the following timestamp's results.
I hope can help me.
Reproduce code:
---------------
<?
echo strtotime ("20050403");
echo strtotime ("20050403 1:00:00");
echo strtotime ("20050403 2:00:00");
echo strtotime ("20050404");
?>
Expected result:
----------------
1112508000
1112511600
1112515200
1112594400
Actual result:
--------------
1112508000
1112511600
1112511600
1112590800
--
Edit bug report at http://bugs.php.net/?id=32804&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32804&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32804&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32804&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32804&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32804&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32804&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32804&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32804&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32804&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32804&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32804&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32804&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32804&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32804&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32804&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32804&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32804&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32804&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32804&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32804&r=mysqlcfg