Skip to content

v2.1.0

Compare
Choose a tag to compare
@tolu tolu released this 13 Apr 19:44
· 10 commits to master since this release

Changes

  • export Duration interface
  • test logic against @js-temporal/polyfill
  • update how weeks are handled (now supported to mix with Y/M/D)
  • throw RangeError on invalid input to parse (["", "P", "PT", "PT0.5H0.5S"]) etc
  • fixes use of fractional hours/minutes in toSeconds

Commits

v2.0.0...v2.1.0