You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be good to have more detailed information when built-in calendars need to check for consistent inputs:
// Which of these are errors?// eraYear and year inconsistent when month is present.Temporal.PlainMonthDay.from({calendar: "gregory",era: "ce",eraYear: 2023,year: 2022,month: 2,day: 30});// eraYear and year inconsistent when monthCode is present.Temporal.PlainMonthDay.from({calendar: "gregory",era: "ce",eraYear: 2023,year: 2022,monthCode: "M02",day: 30});// month and monthCode inconsistent.Temporal.PlainMonthDay.from({calendar: "gregory",month: 03,monthCode: "M02",day: 30});
The text was updated successfully, but these errors were encountered:
Meeting 2024-05-30: @gibson042 will PR a change to align behavior of non-ISO calendars to match behavior of ISO calendar, which would throw if month/monthCode or year/era/eraYear are present but inconsistent.
It'd be good to have more detailed information when built-in calendars need to check for consistent inputs:
The text was updated successfully, but these errors were encountered: