Packages

luxon

3.7.2 · 5 Sep 2025MIT61.4M / weekRepositoryHomepagenpmAtom feed

Your version

3.7.0

9 Jul 2025Where it was published

3.7.2 is the newest release of 3.x.

In short

7 new5 changed

Release note

  • Added showZeros option to Duration#toHuman

  • Added Duration#removeZeros method.

  • Added rounding option to DateTime#toRelative

  • Added precision option to ISO formatting methods

  • Added signMode option to Duration#toFormat

  • Allow escaping single quotes in format strings

  • Improve output of Info.months and Info.monthsFormat for ja locale

  • Accept lowercase t as a separator in ISO strings

  • Accept lowercase z as an offset in ISO strings

  • Reject non-finite numbers where previously only NaN was rejected

  • Improve the documentation for Interval

  • Added a dark theme for the documentation site

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.