Skip to content

Commit

Permalink
Add missing algorithm steps for minimal DefaultTimeZone
Browse files Browse the repository at this point in the history
See: #1424
  • Loading branch information
ptomato committed Apr 17, 2021
1 parent 1d47593 commit 81c685d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/timezone.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ <h1>DefaultTimeZone ( )</h1>
<p>
The DefaultTimeZone abstract operation returns a String value representing the host environment's current time zone, which is either a valid (<emu-xref href="#sec-isvalidtimezonename"></emu-xref>) and canonicalized (<emu-xref href="#sec-canonicalizetimezonename"></emu-xref>) time zone name, or an offset conforming to the syntax of a |TimeZoneNumericUTCOffset|.
</p>
<p>
The minimum implementation of DefaultTimeZone, supporting only the *"UTC"* time zone, performs the following steps when called:
</p>

<emu-alg>
1. Return *"UTC"*.
</emu-alg>
</emu-clause>
</emu-clause>

Expand Down

0 comments on commit 81c685d

Please sign in to comment.