Skip to content

Commit

Permalink
Editorial: Add clarifying assertion to CanonicalizeTimeZoneName
Browse files Browse the repository at this point in the history
CanonicalizeTimeZoneName must only be called with names for which
IsValidTimeZoneName returns true. In the minimal implementation, this is
only UTC.
  • Loading branch information
ptomato committed May 19, 2022
1 parent 5b0089a commit 54e43ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/timezone.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h1>
</p>

<emu-alg>
1. Assert: _timeZone_ is an ASCII-case-insensitive match for *"UTC"*.
1. Return *"UTC"*.
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 54e43ca

Please sign in to comment.