You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Let _divisor_ be the value in the "Length in Nanoseconds" column of the row of <emu-xrefhref="#table-temporal-units"></emu-xref> whose "Value" column contains _unit_.
1534
1523
1. Let _rounded_ be ? RoundTimeDurationToIncrement(_duration_.[[Time]], _divisor_ × _increment_, _roundingMode_).
@@ -1675,7 +1664,7 @@ <h1>
1675
1664
1. Let _didExpandCalendarUnit_ be *false*.
1676
1665
1. Let _resultDuration_ be _startDuration_.
1677
1666
1. Let _nudgedEpochNs_ be _startEpochNs_.
1678
-
1. Set _resultDuration_ to ! CombineDateAndTimeDuration(_resultDuration_, ZeroTimeDuration()).
1667
+
1. Set _resultDuration_ to ! CombineDateAndTimeDuration(_resultDuration_, 0).
1679
1668
1. Let _nudgeResult_ be Duration Nudge Result Record { [[Duration]]: _resultDuration_, [[NudgedEpochNs]]: _nudgedEpochNs_, [[DidExpandCalendarUnit]]: _didExpandCalendarUnit_ }.
1680
1669
1. Return the Record { [[NudgeResult]]: _nudgeResult_, [[Total]]: _total_ }.
1681
1670
</emu-alg>
@@ -1813,7 +1802,7 @@ <h1>
1813
1802
1. Let _beyondEnd_ be _nudgedEpochNs_ - _endEpochNs_.
1814
1803
1. If _beyondEnd_< 0, let _beyondEndSign_ be -1; else if _beyondEnd_ > 0, let _beyondEndSign_ be 1; else let _beyondEndSign_ be 0.
1815
1804
1. If _beyondEndSign_ ≠ -_sign_, then
1816
-
1. Set _duration_ to ! CombineDateAndTimeDuration(_endDuration_, ZeroTimeDuration()).
1805
+
1. Set _duration_ to ! CombineDateAndTimeDuration(_endDuration_, 0).
1. Let _dateDifference_ be CalendarDateUntil(_temporalDate_.[[Calendar]], _temporalDate_.[[ISODate]], _other_.[[ISODate]], _settings_.[[LargestUnit]]).
901
-
1. Let _duration_ be ! CombineDateAndTimeDuration(_dateDifference_, ZeroTimeDuration()).
901
+
1. Let _duration_ be ! CombineDateAndTimeDuration(_dateDifference_, 0).
902
902
1. If _settings_.[[SmallestUnit]] is not ~day~ or _settings_.[[RoundingIncrement]] ≠ 1, then
903
903
1. Let _isoDateTime_ be CombineISODateAndTimeRecord(_temporalDate_.[[ISODate]], MidnightTimeRecord()).
904
904
1. Let _isoDateTimeOther_ be CombineISODateAndTimeRecord(_other_.[[ISODate]], MidnightTimeRecord()).
0 commit comments