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
This behaviour is not allowed by the spec. Any valid PlainDate must have a valid year property. The toPlainYearMonth method might throw at the beginning of the range if the first of the calendar month is outside the ISOPlainYearMonth range, but I believe that can't happen at the end of the range.
This behaviour isn't covered by test262. Firefox apparently has this bug.
The text was updated successfully, but these errors were encountered:
btw this happens for the other end too. A year that's too negative also throws.
It looks like this happens for chinese, dangi, islamic, islamic-rgsa, and islamic-umalqura, but not other calendars, but weirdly not for others including hebrew which I thought should be quite similar.
This behaviour isn't covered by test262. Firefox apparently has this bug.
It's not a bug per-se, but instead an additional restriction, because the ICU4X implementation doesn't yet handle large dates for some calendars. As soon as ICU4X is fixed, we can remove these limitation:
Spotted by @Josh-Cena
This behaviour is not allowed by the spec. Any valid PlainDate must have a valid
year
property. ThetoPlainYearMonth
method might throw at the beginning of the range if the first of the calendar month is outside the ISOPlainYearMonth range, but I believe that can't happen at the end of the range.This behaviour isn't covered by test262. Firefox apparently has this bug.
The text was updated successfully, but these errors were encountered: