Skip to content

Commit ea25cfa

Browse files
linusgptomato
authored andcommitted
Editorial: Mark CreateTemporalTimeZone("UTC") as infallible
1 parent 3a01f00 commit ea25cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/instant.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ <h1>TemporalInstantToString ( _instant_, _timeZone_, _precision_ )</h1>
620620
1. Assert: _instant_ has an [[InitializedTemporalInstant]] internal slot.
621621
1. Let _outputTimeZone_ be _timeZone_.
622622
1. If _outputTimeZone_ is *undefined*, then
623-
1. Set _outputTimeZone_ to ? CreateTemporalTimeZone(*"UTC"*).
623+
1. Set _outputTimeZone_ to ! CreateTemporalTimeZone(*"UTC"*).
624624
1. Let _isoCalendar_ be ! GetISO8601Calendar().
625625
1. Let _dateTime_ be ? BuiltinTimeZoneGetPlainDateTimeFor(_outputTimeZone_, _instant_, _isoCalendar_).
626626
1. Let _dateTimeString_ be ? TemporalDateTimeToString(_dateTime_.[[ISOYear]], _dateTime_.[[ISOMonth]], _dateTime_.[[ISODay]], _dateTime_.[[ISOHour]], _dateTime_.[[ISOMinute]], _dateTime_.[[ISOSecond]], _dateTime_.[[ISOMillisecond]], _dateTime_.[[ISOMicrosecond]], _dateTime_.[[ISONanosecond]], *undefined*, _precision_, *"never"*).

0 commit comments

Comments
 (0)