[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #10258(new tools)

Opened 2 weeks ago

Remove exemplar cities for Etc/GMT±x in JSON files

Reported by: Christian Schmidt <c960657-unicode.org@…> Owned by: anybody
Component: timezone Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

The generated JSON files contains exemplar city names for the GMT-style timezones, Etc/GMT, Etc/GMT+1, etc. ([example]https://github.com/unicode-cldr/cldr-dates-modern/blob/master/main/en/timeZoneNames.json#L1323)).

Strings such as GMT+11 may very well be the name of the timezone, but they are not city names, so they should not be listed in the exemplarCity field.

The fact that these timezones are special is touched briefly in spec in the description of the VVVV format pattern:
“Note: Fallback is only necessary with a GMT-style Time Zone ID, like Etc/GMT-830”
However, this is not reflected in the JSON files, so implementors need special code to check for a “Etc/GMT” prefix.

I suggest removing these pseudo-cities from the JSON files.

The names do not convey any information apart from what is already included in the localized GMT format, so I don't think there is any reason to include their names elsewhere, e.g. in a short or long field. Also, note that the Etc timezones use the opposite sign of what is used in most places in CLDR, e.g. Etc/GMT+2 corresponds to GMT-02:00, so using the tzid in any form might be confusing to end users.

The attached patch is one way to fix this problem. This is the first time I am changing the CLDR Java code, so I have no idea if this is the best way to address the issue.

Attachments

etc-gmt.patch (1.5 KB) - added by Christian Schmidt <c960657-unicode.org@…> 2 weeks ago.
Patch

Change History

Changed 2 weeks ago by Christian Schmidt <c960657-unicode.org@…>

Patch

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.