mirror of
https://github.com/tc39/test262.git
synced 2025-11-28 17:43:19 +01:00
Intl Era Monthcode: Fix reference ISO date for 2033-M11L in Chinese calendar
As per https://www.hko.gov.hk/en/gts/time/calendar/pdf/files/2033e.pdf and https://taiwan-database.net/PDFs/WTFpdf23.pdf the leap month should start on December 22 instead of 23.
This commit is contained in:
parent
464eb47200
commit
ed01bba772
@ -81,7 +81,7 @@ const leapMonthsTestData = [
|
||||
["M08L", 1995, 9, 25],
|
||||
["M09L", 2014, 10, 24],
|
||||
["M10L", 1984, 11, 23],
|
||||
["M11L", 2033, 12, 23],
|
||||
["M11L", 2033, 12, 22],
|
||||
];
|
||||
for (const [monthCode, relatedYear, month, referenceISODay, isoYear = relatedYear, isoMonth = month] of leapMonthsTestData) {
|
||||
// Allow implementation-defined "epoch year" for the Chinese calendar.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user