@@ -98,8 +98,8 @@ <h1>Temporal.Duration.compare ( _one_, _two_ [ , _options_ ] )</h1>
98
98
1. Set _two_ to ? ToTemporalDuration(_two_ ).
99
99
1. Set _options_ to ? GetOptionsObject(_options_ ).
100
100
1. Let _relativeTo_ be ? ToRelativeTemporalObject(_options_ ).
101
- 1. Let _shift1_ be ? CalculateOffsetShift(_relativeTo_ , _one_ .[[Years]], _one_ .[[Months]], _one_ .[[Weeks]], _one_ .[[Days]], 0, 0, 0, 0, 0, 0, 0 ).
102
- 1. Let _shift2_ be ? CalculateOffsetShift(_relativeTo_ , _two_ .[[Years]], _two_ .[[Months]], _two_ .[[Weeks]], _two_ .[[Days]], 0, 0, 0, 0, 0, 0, 0 ).
101
+ 1. Let _shift1_ be ? CalculateOffsetShift(_relativeTo_ , _one_ .[[Years]], _one_ .[[Months]], _one_ .[[Weeks]], _one_ .[[Days]], 0, 0, 0, 0, 0, 0).
102
+ 1. Let _shift2_ be ? CalculateOffsetShift(_relativeTo_ , _two_ .[[Years]], _two_ .[[Months]], _two_ .[[Weeks]], _two_ .[[Days]], 0, 0, 0, 0, 0, 0).
103
103
1. If any of _one_ .[[Years]], _two_ .[[Years]], _one_ .[[Months]], _two_ .[[Months]], _one_ .[[Weeks]], or _two_ .[[Weeks]] are not 0, then
104
104
1. Let _unbalanceResult1_ be ? UnbalanceDurationRelative(_one_ .[[Years]], _one_ .[[Months]], _one_ .[[Weeks]], _one_ .[[Days]], *"day"* , _relativeTo_ ).
105
105
1. Let _unbalanceResult2_ be ? UnbalanceDurationRelative(_two_ .[[Years]], _two_ .[[Months]], _two_ .[[Weeks]], _two_ .[[Days]], *"day"* , _relativeTo_ ).
0 commit comments