@@ -1864,7 +1864,7 @@ <h1>
1864
1864
<emu-alg >
1865
1865
1. NOTE: The following steps read options and perform independent validation in alphabetical order.
1866
1866
1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"largestUnit"* , ~unset~ ).
1867
- 1. Perform ? ValidateTemporalUnitValue(_largestUnit_ , _unitGroup_ ).
1867
+ 1. Perform ? ValidateTemporalUnitValue(_largestUnit_ , _unitGroup_ , « ~unset~ » ).
1868
1868
1. If _largestUnit_ is ~unset~ , then
1869
1869
1. Set _largestUnit_ to ~auto~ .
1870
1870
1. If _disallowedUnits_ contains _largestUnit_ , throw a *RangeError* exception.
@@ -1873,7 +1873,7 @@ <h1>
1873
1873
1. If _operation_ is ~since~ , then
1874
1874
1. Set _roundingMode_ to NegateRoundingMode(_roundingMode_ ).
1875
1875
1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_ , *"smallestUnit"* , ~unset~ ).
1876
- 1. Perform ? ValidateTemporalUnitValue(_smallestUnit_ , _unitGroup_ ).
1876
+ 1. Perform ? ValidateTemporalUnitValue(_smallestUnit_ , _unitGroup_ , « ~unset~ » ).
1877
1877
1. If _smallestUnit_ is ~unset~ , then
1878
1878
1. Set _smallestUnit_ to _fallbackSmallestUnit_ .
1879
1879
1. If _disallowedUnits_ contains _smallestUnit_ , throw a *RangeError* exception.
0 commit comments