#38258 [Opn->Asn]: Timezone database is not up to date
| From: | tony2001@php.net | Date: | Sun, 30 Jul 2006 10:08:01 +0000 |
| Subject: | #38258 [Opn->Asn]: Timezone database is not up to date | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100087@lists.php.net to get a copy of this message | ||
ID: 38258
Updated by: tony2001@php.net
Reported By: phpbugs at killmail dot net
-Status: Open
+Status: Assigned
Bug Type: Date/time related
Operating System: linux glibc
PHP Version: 5.1.4
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2006-07-30 05:55:10] phpbugs at killmail dot net
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 this bug report at http://bugs.php.net/?id=38258&edit=1