luxon
3.7.2 · 5 Sep 2025MIT61.4M / weekRepositoryHomepagenpmAtom feed
Upgrading luxon From 1.28.1 to 2.5.2
13 releases in betweennotes for 10
Reading releases, release notes and advisories…
Start here
Release by release
2.5.1 – 2.5.22 releases, no release note
- New
Support for ESM-style node imports
- Fixed
Fix Wednesday parsing for RFC 850 strings
- New
- New
Add support for parsing the ISO zone extension, like
2022-05-08T20:42:00.000-04:00[America/New_York] - New
Add an
extendedZoneoption totoISO()andtoISOTime - Fixed
Fix for parsing in Vietnames (and probably other languages)
- New
- New
Add week formatting token "w" for durations
- Fixed
Fix timezone calculations for negative years
- Fixed
Fix weekday computation for years 0-100
- New
- New
Added an
includeOffsetSpaceoption totoSQLandtoSQLTime - New
Added
toUnixInteger - Fixed
Don't use
-0when negating durations with zeros in them
- New
- New
Added Duration#toHuman()
- Fixed
Fixed date padding for negative years in
toISO()
- New
- New
Allow offsets to pick among ambiguous times when both an offset and zone are provided to
fromFormat - Fixed
Fix a floating point bug in
Duration.shiftTo()
- New
- Fixed
Fix issue in quirky environments that lack
hourCyclesupport and sometimes computed offsets 12 hours off
- Fixed
5 other lines we could not sort, mostly version bumps
- 2.5.0
Increase number of digits allowed in ISO durations
- 2.4.0
Improvements to
DateTime.isInDST() - 2.3.0
Major perf improvements to
toISO(),toISODate(),toISOTime(), andtoSQLDate() - 2.1.0
Export fromDurationLike
- 2.1.0
Memoize zone validation
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.