Skip to content

Commit 50eb413

Browse files
anbaryzokuken
authored andcommitted
Normative: Canonicalise "GMT" to "UTC"
tzdata 2022f using vanguard format made "GMT" a zone and "Etc/GMT" a link to "GMT". Rearguard format still has this the other way around, i.e. "Etc/GMT" is a zone and "GMT" a link to "Etc/GMT". Because we don't control if vanguard or rearguard format is used by an implementation, the `CanonicalizeTimeZoneName` operation should canonicalise both "Etc/GMT" and "GMT" to "UTC".
1 parent 4c55823 commit 50eb413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/locales-currencies-tz.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ <h1>
201201
<emu-alg>
202202
1. Let _ianaTimeZone_ be the String value of the Zone or Link name of the IANA Time Zone Database that is an ASCII-case-insensitive match for _timeZone_.
203203
1. If _ianaTimeZone_ is a Link name, let _ianaTimeZone_ be the String value of the corresponding Zone name as specified in the file <code>backward</code> of the IANA Time Zone Database.
204-
1. If _ianaTimeZone_ is *"Etc/UTC"* or *"Etc/GMT"*, return *"UTC"*.
204+
1. If _ianaTimeZone_ is one of *"Etc/UTC"*, *"Etc/GMT"*, or *"GMT"*, return *"UTC"*.
205205
1. Return _ianaTimeZone_.
206206
</emu-alg>
207207
</emu-clause>

0 commit comments

Comments
 (0)