Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored Jan 27, 2021
1 parent 9d834b2 commit c502fef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spec/timezone.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>Time Zone Names</h1>

<emu-note type="editor">
<p>
The normative intention of this section is that an implementation must support UTC and a local time zone, which may also be UTC, or a named time zone like `"Europe/London"`, or an offset time zone like `"+01:00"`; and that the local time zone must in any case be consistent with the time zone offsets that can be determined using `Date.prototype.getTimezoneOffset()`, `Date.prototype.toString()`, and `Date.prototype.toTimeString()`.
The normative intention of this section is that an implementation must support UTC and a local time zone, which may also be UTC, or a named time zone like *"Europe/London"*, or an offset time zone like *"+01:00"*; and that the local time zone must in any case be consistent with the time zone offsets that can be determined using `Date.prototype.getTimezoneOffset()`, `Date.prototype.toString()`, and `Date.prototype.toTimeString()`.
The exact formal definition of "local time zone" is still to be determined.
</p>
</emu-note>
Expand All @@ -22,8 +22,8 @@ <h1>Time Zone Names</h1>
In addition, implementations may support any number of other built-in time zones.
</p>
<p>
Built-in time zones may be <dfn>named</dfn> time zones, represented by Strings for which IsValidTimeZoneName returns *true*.
They may also be <dfn>offset</dfn> time zones, represented by Strings that conform to the syntax of |TimeZoneNumericUTCOffset|.
Built-in time zones may be <dfn>named time zones</dfn>, represented by Strings for which IsValidTimeZoneName returns *true*.
They may also be <dfn>offset time zones</dfn>, represented by Strings that conform to the syntax of |TimeZoneNumericUTCOffset|.
<p>
<emu-xref href="#sec-temporal-timezone-constructor">The `Temporal.TimeZone` constructor</emu-xref>, when called with the name of a built-in time zone as the argument, will return a valid `Temporal.TimeZone` object.
When called with any other string, it will throw a *RangeError* exception.
Expand Down Expand Up @@ -75,7 +75,8 @@ <h1>CanonicalizeTimeZoneName ( _timeZone_ )</h1>
<p>
CanonicalizeTimeZoneName may only be called with a _timeZone_ parameter that is a valid time zone name according to IsValidTimeZoneName.
</p>
<p>The minimum implementation of CanonicalizeTimeZoneName, supporting only the *"UTC"* time zone, performs the following steps when called:
<p>
The minimum implementation of CanonicalizeTimeZoneName, supporting only the *"UTC"* time zone, performs the following steps when called:
</p>

<emu-alg>
Expand Down

0 comments on commit c502fef

Please sign in to comment.