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

CLDR Ticket #10258(closed tools: fixed)

Opened 7 months ago

Last modified 4 weeks ago

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

Reported by: Christian Schmidt <c960657-unicode.org@…> Owned by: emmons
Component: json Data Locale:
Phase: spec-beta Review: srl
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@…> 7 months ago.
Patch

Change History

Changed 7 months ago by Christian Schmidt <c960657-unicode.org@…>

Patch

comment:1 Changed 5 months ago by emmons

  • Status changed from new to accepted
  • Component changed from timezone to json
  • Priority changed from assess to medium
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to 32
  • Owner changed from anybody to emmons

comment:2 Changed 2 months ago by emmons

  • Phase changed from rc to spec-beta

comment:3 Changed 2 months ago by emmons

  • Status changed from accepted to reviewing
  • Review set to srl

comment:4 Changed 4 weeks ago by srl

  • Status changed from reviewing to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
Next status will be 'new'
Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.