Skip to content

Commit ef4305e

Browse files
authored
Fix comment (#4430)
1 parent d77a127 commit ef4305e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/intl402/DateTimeFormat/prototype/formatRangeToParts/to-datetime-formattable-with-different-arg-kinds.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ info: |
1010
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate, endDate )
1111
1212
...
13-
4. Let x be ? ToNumberToDateTimeFormattable(startDate).
14-
5. Let y be ? ToNumberToDateTimeFormattable(endDate).
13+
4. Let x be ? ToDateTimeFormattable(startDate).
14+
5. Let y be ? ToDateTimeFormattable(endDate).
1515
6. Return ? FormatDateTimeRangeToParts(dtf, x, y).
1616
1717
ToDateTimeFormattable ( value )
@@ -26,8 +26,7 @@ info: |
2626
2727
PartitionDateTimeRangePattern ( dateTimeFormat, x, y )
2828
29-
...
30-
5. If IsTemporalObject(x) is true or IsTemporalObject(y) is true, then
29+
1. If IsTemporalObject(x) is true or IsTemporalObject(y) is true, then
3130
a. If SameTemporalType(x, y) is false, throw a TypeError exception.
3231
...
3332
features: [Temporal]

0 commit comments

Comments
 (0)