v2.1.0
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