mirror of
https://github.com/tc39/test262.git
synced 2025-08-17 16:08:29 +02:00
If you have a leap day, such as February 29, and you get input such as { monthCode: "M02", day: 30 }, { overflow: "constrain" }, then you want the day to be constrained to the leap day February 29, not February 28 as the maximum day would be in a common year. Add tests for this case for each supported calendar.