Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conversion of YearMonth/MonthDay in DateTimeFormat polyfill
Since MonthDay.withYear(year) is not guaranteed to be sufficient to convert to a Temporal.Date if the calendar uses eras as well as years. Instead of picking the arbitrary day 1 or year 2004 to convert, use the refISODay or refISOYear, respectively.
- Loading branch information