Skip to content

v7.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Aug 00:05
· 8 commits to main since this release
  • fix!: resolve DST-ambiguous wall clocks without depending on the host time zone (e0f7244)

BREAKING CHANGES

  • wall-clock times inside a DST fall-back overlap now resolve to
    the earlier occurrence on every host. Callers on a UTC host see southern-
    hemisphere ambiguous times change — 'Australia/Sydney' '2024-04-07T02:30' goes
    from 1712421000000 to 1712417400000 — while northern-hemisphere results match
    what a UTC host already produced. Time zones are now validated by Intl, so the
    strings '' and 'Z', previously accepted as UTC by date-fns-tz, throw
    "Invalid time zone".

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com