Bug in rounding edge cases (PR #2797)
When rounding a ZonedDateTime to the day boundary, it was possible in rare cases due to DST to add a spurious extra day.
const zdt = Temporal.ZonedDateTime.from('2024-03-10T23:00:01[America/New_York]')
zdt.round({ smallestUnit: 'day', roundingMode: 'ceil' })
The incorrect result comes from not taking into account that 23:00:01 is 22h 1s into a 23-hour day. (March 10th was DST "spring forward".)
(Discovered by Adam Shaw, a polyfill implementor)