mirror of https://github.com/tc39/test262.git
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);
|
||||
|
||||
[
|
||||
[yearmonth1, "2000-05[u-ca=iso8601]"],
|
||||
[yearmonth1, "2000-05-01[u-ca=iso8601]"], // fallback day 1 used
|
||||
[yearmonth2, "2000-05-01[u-ca=custom]"],
|
||||
].forEach(([yearmonth, expected]) => {
|
||||
const result = yearmonth.toString({ calendarName: "always" });
|
||||
|
|
Loading…
Reference in New Issue