- Use custom assert instead of node:assert; this makes it easy to use the ESM build in browsers. 4.4.0 / 2022-06-20 ==================
- Revert to loading JSON locale data with require while Rollup has no built-in support for import assertions.
- Add
seasonIntervals
parser constraint - Use ESM import assertions to import JSON locale data
- Publish as dual-package, including a CJS fallback build
- Use native ESM module syntax
- Support '..' affix for earlier/later in inclusive lists
- Use '..' instead of '*' for open end intervals
- Interpret single integer input as Unix timestamp (like native Date)
- Interpret 5+ digit strings as Unix timestamp
- Accept ISO times with missing seconds
- Support timezone offset without colon
- Support negative timezone offset with minus sign
- Use system timezone when given time without offset
- Add DateTimeFormat cache
- Implement date formatting (non-standard)
- Support negative masked dates
- Support negative masked years
- Rename until() -> through() [#4]
- Add until() to return half-open intervals [#4]
- Add support for century zero [#3]
- Implement unspecified max/next [#2]
- Fix time precision normalization [#1]
- Initial Release