Skip to content

Commit e962797

Browse files
jessealamaptomato
andcommitted
Remove extra zero
Co-authored-by: Philip Chimento <philip.chimento@gmail.com>
1 parent 08bcd53 commit e962797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/duration.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ <h1>Temporal.Duration.compare ( _one_, _two_ [ , _options_ ] )</h1>
9898
1. Set _two_ to ? ToTemporalDuration(_two_).
9999
1. Set _options_ to ? GetOptionsObject(_options_).
100100
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).
103103
1. If any of _one_.[[Years]], _two_.[[Years]], _one_.[[Months]], _two_.[[Months]], _one_.[[Weeks]], or _two_.[[Weeks]] are not 0, then
104104
1. Let _unbalanceResult1_ be ? UnbalanceDurationRelative(_one_.[[Years]], _one_.[[Months]], _one_.[[Weeks]], _one_.[[Days]], *"day"*, _relativeTo_).
105105
1. Let _unbalanceResult2_ be ? UnbalanceDurationRelative(_two_.[[Years]], _two_.[[Months]], _two_.[[Weeks]], _two_.[[Days]], *"day"*, _relativeTo_).

0 commit comments

Comments
 (0)