Skip to content

Commit 3c8d939

Browse files
committed
Editorial: Fix type assertion in BubbleRelativeDuration
This operation can be called with a time unit as largestUnit. It should continue to work as advertised, the type assertion in the header was just wrong. Closes: #3121
1 parent e6f565d commit 3c8d939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/duration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ <h1>
17501750
_isoDateTime_: an ISO Date-Time Record,
17511751
_timeZone_: an available time zone identifier or ~unset~,
17521752
_calendar_: a calendar type,
1753-
_largestUnit_: a date unit,
1753+
_largestUnit_: a Temporal unit,
17541754
_smallestUnit_: a date unit,
17551755
): either a normal completion containing an Internal Duration Record or a throw completion
17561756
</h1>

0 commit comments

Comments
 (0)