A failure - CLDR as an IANA time zone database extension for Mexico
Tiempo del Pacifico http://es.wikipedia.org/wiki/Zonas_horarias_de_M%C3%A9xico#Tiempo_del_Pac.C3... Tiempo del Pacifico -6/-7 confirmed by http://www.cenam.mx/hora_oficial/ Tiempo del Pacífico = UTC(CNM) – (N+1) Donde N es 6 horas para el horario de invierno y 5 horas para el horario de verano. ==Test 1 - Tijuana== The only Pacific that I can find in http://www.unicode.org/repos/cldr/trunk/common/main/es.xml outside the Area/Locations names are in that section: <metazone type="America_Pacific"> <long> <generic>Hora del Pacífico</generic> <standard>Hora estándar del Pacífico</standard> <daylight>Hora de verano del Pacífico</daylight> </long> </metazone> An example zone for America_Pacific from http://unicode.org/repos/cldr/trunk/common/supplemental/metaZones.xml mapZone other="America_Pacific" territory="MX" type="America/Tijuana"/ Look America/Tijuana up in ftp://ftp.iana.org/tz/data/zone.tab America/Tijuana US Pacific Time - Baja California near US border ftp://ftp.iana.org/tz/data/northamerica -8:00 Mexico P%sT 2010 -8:00 US P%sT ==Example 2 - Hermosillo== ftp://ftp.iana.org/tz/data/zone.tab America/Hermosillo Mountain Standard Time - Sonora -7:00 Mexico M%sT 1999 -7:00 - MST That is "Tiempo del Pacífico", using http://www.cenam.mx/hora_oficial/ Tiempo del Pacífico = UTC(CNM) – (N+1) Donde N es 6 horas para el horario de invierno .... http://unicode.org/repos/cldr/trunk/common/supplemental/metaZones.xml <timezone type="America/Hermosillo"> <usesMetazone to="1970-01-01 08:00" mzone="America_Pacific"/> <usesMetazone from="1970-01-01 08:00" mzone="America_Mountain"/> </timezone> http://www.unicode.org/repos/cldr/trunk/common/main/es.xml <metazone type="America_Mountain"> <long> <generic>Hora de las Montañas</generic> <standard>Hora estándar de Montaña</standard> <daylight>Hora de verano de Montaña</daylight> </long> </metazone> -- Tobias Conradi Rheinsberger Str. 18 10115 Berlin Germany http://tobiasconradi.com/
Then that is a mistake in the CLDR data (likely uncaught because no-one uses it because no C implementation supports it), which should be reported to them, rather than used as a reason to either A) not bother supporting localization or B) totally reinvent the wheel.
CLDR data is used in ICU, which is used in iOS, OS X, and Android. I wouldn’t say “no-one uses it.” CLDR bugs can be reported here: http://unicode.org/cldr/trac/ or you can just participate in the process as outlined at cldr.unicode.org. Deborah On Apr 2, 2013, at 3:29 PM, Random832 <random832@fastmail.us> wrote:
Then that is a mistake in the CLDR data (likely uncaught because no-one uses it because no C implementation supports it), which should be reported to them, rather than used as a reason to either A) not bother supporting localization or B) totally reinvent the wheel.
participants (3)
-
Deborah Goldsmith -
Random832 -
Tobias Conradi