From: alexm at emarket2 dot com
Operating system: Windows XP
PHP version: 5.1.0RC1
PHP Bug Type: Date/time related
Bug description: date() function produces wrong output
Description:
------------
I have installed PHP 5.1.0RC1 on Windows XP Professional
(before I was running PHP 5.0.4 ) and all my scripts
with code like <? print date("d/m/Y H:i:s"); ?> start showing time with 1
hour difference from my local machine time, for example - PHP script
produces output like 26/08/2005 10:01:41 while my local machine time is
26/08/2005 11:01:41.
Online Documentation states that date() function
"Returns a string formatted according to the given format string using the
given integer timestamp or the current local time if no timestamp is
given."
--
Edit bug report at http://bugs.php.net/?id=34267&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34267&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34267&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34267&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34267&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34267&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34267&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34267&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34267&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34267&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34267&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34267&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34267&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34267&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34267&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34267&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34267&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34267&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34267&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34267&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34267&r=mysqlcfg