Skip to content

v8.1.3

Latest

Choose a tag to compare

@elusivecodes elusivecodes released this 06 Sep 03:58

This release corrects date parsing, era numbering, and calendar calculations, and simplifies the test suite while preserving coverage.

Fixed

  • Preserve the instant when parsing zoned strings with fractional seconds or spaced RFC offsets.
  • Preserve invalid dates when copying instances or applying locale and time-zone options during ISO parsing.
  • Apply ICU's moving 100-year window to two-digit calendar and week years.
  • Consistently select the later occurrence of repeated local times during DST transitions.
  • Correct month-week calculations near year boundaries and parsing that combines day-of-month, month-week, or weekday-occurrence fields.
  • Correct BC year numbering while preserving astronomical years and signed extended years in ISO parsing and output.
  • Parse the fixed-offset output of time-zone tokens, fully anchor token alternatives, and correctly match Unicode literals, including emoji.
  • Preserve the operation direction when subtracting weeks across deleted calendar dates.

Changed

  • Simplified date construction, parse ordering, and difference calculations.
  • Updated the README to reflect current behavior and align installation instructions with the other Frost packages.
  • Replaced repetitive tests with named data tables and independently reported cases. All 1,656 tests pass with unchanged coverage.