From: phpbugs at killmail dot net Operating system: linux glibc PHP version: 5.1.4 PHP Bug Type: Date/time related Bug description: Timezone database is not up to date
Description: ------------ The built-in timezone database in PHP 5.1.4 (and earlier versions) does not match the latest authoritiative database available from ftp://elsie.nci.nih.gov/pub/tzdata2006g.tar.gz These timezones are affected: Failed: Africa/Tunis got Failed: America/Guatemala got Failed: America/Managua got Failed: America/Port-au-Prince got Failed: America/Tegucigalpa got Failed: Asia/Colombo got Failed: Asia/Tehran got Reproduce code: --------------- PHP test case is available here: http://jules.com.au/timezones.php.txt To execute this test, you need to make sure your system has the latest zoneinfo databases installed. Grab that data from ftp://elsie.nci.nih.gov/pub/tzdata2006g.tar.gz, and compile it with zic Expected result: ---------------- No output expected if all tests pass. Actual result: -------------- Failed: Africa/Tunis got Sun Jul 30 07:50:35 CEST 2006 PHP said Sun, 30 Jul 2006 06:50:35 +0100 Failed: America/Guatemala got Sun Jul 30 00:50:35 CDT 2006 PHP said Sat, 29 Jul 2006 23:50:35 -0600 Failed: America/Managua got Sun Jul 30 00:50:35 CDT 2006 PHP said Sat, 29 Jul 2006 23:50:35 -0600 Failed: America/Port-au-Prince got Sun Jul 30 01:50:35 EDT 2006 PHP said Sun, 30 Jul 2006 00:50:35 -0500 Failed: America/Tegucigalpa got Sun Jul 30 00:50:35 CDT 2006 PHP said Sat, 29 Jul 2006 23:50:35 -0600 Failed: Asia/Colombo got Sun Jul 30 11:20:35 IST 2006 PHP said Sun, 30 Jul 2006 11:50:35 +0600 Failed: Asia/Tehran got Sun Jul 30 09:20:36 IRST 2006 PHP said Sun, 30 Jul 2006 10:20:36 +0430 -- Edit bug report at http://bugs.php.net/?id=38258&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38258&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38258&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38258&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38258&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38258&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38258&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38258&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38258&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38258&r=support Expected behavior: http://bugs.php.net/fix.php?id=38258&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38258&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38258&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38258&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38258&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38258&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38258&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38258&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38258&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38258&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38258&r=mysqlcfg