Closed robertbastian closed 1 month ago
More from Wikipedia:
On 1 January 1972, GMT as the international civil time standard was superseded by Coordinated Universal Time (UTC), maintained by an ensemble of atomic clocks around the world.
The term "GMT" is also used as one of the names for the time zone UTC+00:00
English speakers often use GMT as a synonym for UTC.
The term "GMT" should thus not be used for purposes that require precision.
UtcOffset
type?Conclusion: move forward with the suggestions in the OP
LGTM: @sffc @robertbastian @Manishearth @nekevss
Yet ICU4X uses GMT, both on APIs (
icu::timezone::GmtOffset
) as well as in output ("GMT-05:00"
). The latter is dictated by UTS 35, which seems to have historically used GMT, but currently uses GMT and UTC interchangeably. Unfortunately CLDR data has fields likegmtFormat
(instead of a more neutraloffsetFormat
), which naturally result in values likeGMT{0}
instead of the more appropriateUTC{0}
.I do want to address this on the CLDR level, but this issue should discuss updating IUC4X APIs to use the more appropriate UTC. IXDTF and ISO 8601 also use "UTC offset" terminology, which already appears in ICU4X as well (e.g. through the beautifully named
GmtOffset::try_from_utc_offset_record
).My concrete proposal for ICU4X is:
GmtOffset
->UtcOffset
NeoTimeZoneGmtMarker
to a more neutralNeoTimeZoneOffsetMarker
, but document it as "UTC offset"