From: magnuswillner at hotmail dot com Operating system: Unix PHP version: 4.4.1 PHP Bug Type: Date/time related Bug description: strftime doesnät calculate time correct anymore, see http://www.logibook.com/a/
Description: ------------ Hello! The function strftime doesn't work correct anymore. Effect: Critical, since all the business critical booking system for all customers is malfunctioning completely. Since: The problem started around 2006-01-07/08. (Known working 2006-01-06 for sure) Problem description: See http://www.logibook.com/a/strftime_test.php for an desciptive page over the error. strftime usually returns a string from the number of seconds since 1 jan 1970. Now, it lags and returns a string representing 23 seconds to late. When I look at bookings further on in the future, the function lags 24 seconds. Other: My webb-hotell (www.swedenet.net) uses cpanel. Cpanel seems to not support a later version of php than 4.4.1. Is the problem solved in a later version of php and in that case, in what earliest version is it solved? Reproduce code: --------------- See http://www.logibook.com/a/strftime_test.php Expected result: ---------------- see text when running the file: http://www.logibook.com/a/strftime_test.php E.g. The strftime should return 8 jan 2006, 08:00:00 Actual result: -------------- see text when running the file: http://www.logibook.com/a/strftime_test.php E.g. The strftime should return 8 jan 2006, 07:59:37 which is incorrect. -- Edit bug report at http://bugs.php.net/?id=35958&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35958&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35958&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35958&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35958&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35958&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35958&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35958&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35958&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35958&r=support Expected behavior: http://bugs.php.net/fix.php?id=35958&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35958&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35958&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35958&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35958&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35958&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35958&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35958&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35958&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35958&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35958&r=mysqlcfg