Skip to content

Commit

Permalink
Editorial: add '*' around 'true' and 'false'
Browse files Browse the repository at this point in the history
... in algorithm steps.
  • Loading branch information
jmdyck committed Jan 4, 2018
1 parent 32d4964 commit 9cb3ac3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -26780,7 +26780,7 @@ <h1>LocalTimeZoneAdjustment ( _t_, _isUTC_ )</h1>
<h1>LocalTime ( _t_ )</h1>
<p>The abstract operation LocalTime with argument _t_ converts _t_ from UTC to local time by performing the following steps:</p>
<emu-alg>
1. Return _t_ + LocalTZA(_t_, true).
1. Return _t_ + LocalTZA(_t_, *true*).
</emu-alg>
<emu-note>
<p>Two different time values (_t_ (UTC)) are converted to the same local time <emu-eqn>t<sub>local</sub></emu-eqn> at a negative time zone transition when there are repeated times (e.g. the daylight saving time ends or the time zone adjustment is decreased.).</p>
Expand All @@ -26792,7 +26792,7 @@ <h1>LocalTime ( _t_ )</h1>
<h1>UTC ( _t_ )</h1>
<p>The abstract operation UTC with argument _t_ converts _t_ from local time to UTC. It performs the following steps:</p>
<emu-alg>
1. Return _t_ - LocalTZA(_t_, false).
1. Return _t_ - LocalTZA(_t_, *false*).
</emu-alg>
<emu-note>
<p><emu-eqn>UTC(LocalTime(_t_))</emu-eqn> is not necessarily always equal to _t_. <emu-eqn>LocalTime(UTC(_t_<sub>local</sub>))</emu-eqn> is not necessarily always equal to <emu-eqn>_t_<sub>local</sub></emu-eqn>, either.</p>
Expand Down Expand Up @@ -27969,7 +27969,7 @@ <h1>Runtime Semantics: TimeZoneString( _tv_ )</h1>
<emu-alg>
1. Assert: Type(_tv_) is Number.
1. Assert: _tv_ is not *NaN*.
1. Let _offset_ be LocalTZA(_tv_, true).
1. Let _offset_ be LocalTZA(_tv_, *true*).
1. If _offset_ &ge; 0, let _offsetSign_ be `"+"`; otherwise, let _offsetSign_ be `"-"`.
1. Let _offsetMin_ be the String representation of MinFromTime(abs(_offset_)), formatted as a two-digit number, padded to the left with a zero if necessary.
1. Let _offsetHour_ be the String representation of HourFromTime(abs(_offset_)), formatted as a two-digit number, padded to the left with a zero if necessary.
Expand Down

0 comments on commit 9cb3ac3

Please sign in to comment.