Skip to content

Commit

Permalink
Change TimeZoneString(tv) to use LocalTZA(tv, true)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungshik committed Jul 10, 2017
1 parent 8ef2aba commit df671f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -27502,7 +27502,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 + DaylightSavingTA(_tv_).
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 df671f2

Please sign in to comment.