UTC vs GMT #5497
Labels
2.0-breaking
Changes that are breaking API changes
C-datetime
Component: datetime, calendars, time zones
C-time-zone
Component: Time Zones
Milestone
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"The text was updated successfully, but these errors were encountered: