Zend Framework

Invalid timezone in supplementalData.xml

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.0
  • Fix Version/s: 1.9.1
  • Component/s: Zend_Date
  • Labels:
    None

Description

It version 1.9.0a1 it seems that there is a problem with Zend/Locale/Data/supplementalData.xml

Line 3763 is

<mapZone other="Greenwich Standard Time" type="Africa/Reykjavik"/>

but should be

<mapZone other="Greenwich Standard Time" type="Atlantic/Reykjavik"/>

I found the problem by running the following.

Zend_Locale::clearCache();
$date = new Zend_Date();
foreach (Zend_Locale::getTranslationList('TimezoneToWindows') as $name => $timezone) {
$date->setTimezone($timezone);
}

Throws an exception: Fatal error: Uncaught exception 'Zend_Date_Exception' with message 'timezone (Africa/Reykjavik) is not a known timezone'

Thrown in ZendFramework-1.9.0a1/library/Zend/Date/DateObject.php on line 1004

This doesn't appear to be a problem in 1.8.4PL1

Activity

Hide
Dolf Schimmel (Freeaqingme) added a comment -

Reykjavik in Africa, that will heat up some things

All the files in that Data/ directory are CLDR files. We are not allowed to edit them, so you should probably file an issue at the CLDR issue tracker.

I'm leaving this issue open to let Thomas Weidner decide what should be further done with it

Show
Dolf Schimmel (Freeaqingme) added a comment - Reykjavik in Africa, that will heat up some things All the files in that Data/ directory are CLDR files. We are not allowed to edit them, so you should probably file an issue at the CLDR issue tracker. I'm leaving this issue open to let Thomas Weidner decide what should be further done with it
Hide
Thomas Weidner added a comment -

This problem is not a ZF issue it's a CLDR issue (the I18n database ZF is using).

Please commit a issue to CLDR (www.unicode.org/cldr) as we're not allowed to deliver changed
database content.

Show
Thomas Weidner added a comment - This problem is not a ZF issue it's a CLDR issue (the I18n database ZF is using). Please commit a issue to CLDR (www.unicode.org/cldr) as we're not allowed to deliver changed database content.
Hide
Dylan Arnold added a comment -

I just checked version 1.7.1 of the CLDR and it appears to be fixed.

Show
Dylan Arnold added a comment - I just checked version 1.7.1 of the CLDR and it appears to be fixed.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: