|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70259 tiemzone Pacific/Auckland missing
Submitted: 2015-08-13 09:22 UTC Modified: 2015-08-16 22:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: andy at calamedia dot de Assigned: derick (profile)
Status: Closed Package: timezonedb (PECL)
PHP Version: 5.4.44 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: andy at calamedia dot de
New email:
PHP Version: OS:


 [2015-08-13 09:22 UTC] andy at calamedia dot de
Creation of DateTimeZone for Pacific/Auckland causes unknown or bad timezone error

Test script:
$tz = new DateTimeZone('Pacific/Auckland');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-13 09:31 UTC] andy at calamedia dot de
Used latest timezonedb 2015.6
 [2015-08-13 13:44 UTC] phpnet at legionofone dot com
The following timezones also cause errors in 2015.6:


Script to test:

foreach (DateTimeZone::listIdentifiers() as $zone) {
    try {
        $obj = new DateTimeZone($zone);
        echo $zone . " worked\n";
    } catch (Exception $ex) {
        echo $zone . ': ' . $ex->getMessage() . "\n";
 [2015-08-13 17:22 UTC] phpnet at legionofone dot com
In our case 2015.6 generates the errors on PHP version 5.5.9.
 [2015-08-14 18:56 UTC]
-Assigned To: +Assigned To: derick
 [2015-08-16 22:00 UTC]
-Status: Assigned +Status: Closed
 [2015-08-16 22:00 UTC]
This should be fixed in both GIT master, and the PECL release 2015.6.1
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 19:01:31 2024 UTC