From: jeremy at techtrav dot com
Operating system: Windows XP Apache 2
PHP version: 5.1.0b3
PHP Bug Type: Date/time related
Bug description: No Day light savings time
Description:
------------
the newest 5.1.X version of PHP does not seem to work with day light
savings time. the Expected result was recieved from PHP 5.0.4
I am adding 6 days to Oct 25th to cross over daylight savings time on Oct
30th. There should be 25 hours in Oct 30th.
Reproduce code:
---------------
$date = strtotime('25 Oct');
echo date('m/d/Y H:m:s', $date+(86400*6));
Expected result:
----------------
10/30/2005 23:10:00
Actual result:
--------------
10/31/2005 00:10:00
--
Edit bug report at http://bugs.php.net/?id=33871&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33871&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=33871&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=33871&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33871&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33871&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33871&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33871&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33871&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33871&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33871&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=33871&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=33871&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33871&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33871&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33871&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33871&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33871&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33871&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33871&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33871&r=mysqlcfg