mirror of
https://github.com/tc39/test262.git
synced 2025-07-13 00:54:39 +02:00
Emit fallback day 1
This commit is contained in:
parent
9aaa22cb06
commit
fe40aea50c
@ -14,7 +14,7 @@ const yearmonth1 = new Temporal.PlainYearMonth(2000, 5);
|
|||||||
const yearmonth2 = new Temporal.PlainYearMonth(2000, 5, calendar);
|
const yearmonth2 = new Temporal.PlainYearMonth(2000, 5, calendar);
|
||||||
|
|
||||||
[
|
[
|
||||||
[yearmonth1, "2000-05[u-ca=iso8601]"],
|
[yearmonth1, "2000-05-01[u-ca=iso8601]"], // fallback day 1 used
|
||||||
[yearmonth2, "2000-05-01[u-ca=custom]"],
|
[yearmonth2, "2000-05-01[u-ca=custom]"],
|
||||||
].forEach(([yearmonth, expected]) => {
|
].forEach(([yearmonth, expected]) => {
|
||||||
const result = yearmonth.toString({ calendarName: "always" });
|
const result = yearmonth.toString({ calendarName: "always" });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user