Skip to content

Commit 06ce375

Browse files
sffcptomato
authored andcommitted
Fix: Allow auto in ValidateTemporalUnitValue
1 parent 4b83ba3 commit 06ce375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/abstractops.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ <h1>
18661866
<emu-alg>
18671867
1. NOTE: The following steps read options and perform independent validation in alphabetical order.
18681868
1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"largestUnit"*, ~unset~).
1869-
1. Perform ? ValidateTemporalUnitValue(_largestUnit_, _unitGroup_).
1869+
1. Perform ? ValidateTemporalUnitValue(_largestUnit_, _unitGroup_, « ~auto~ »).
18701870
1. If _largestUnit_ is ~unset~, then
18711871
1. Set _largestUnit_ to ~auto~.
18721872
1. If _disallowedUnits_ contains _largestUnit_, throw a *RangeError* exception.

0 commit comments

Comments
 (0)