luxon
3.7.2 · 5 Sep 2025MIT61.4M / weekRepositoryHomepagenpmAtom feed
3.7.2 is the newest release of 3.x.
In short
7 new5 changed
Release note
Added
showZerosoption toDuration#toHumanAdded
Duration#removeZerosmethod.Added
roundingoption toDateTime#toRelativeAdded
precisionoption to ISO formatting methodsAdded
signModeoption toDuration#toFormatAllow escaping single quotes in format strings
Improve output of
Info.monthsandInfo.monthsFormatforjalocaleAccept lowercase
tas a separator in ISO stringsAccept lowercase
zas an offset in ISO stringsReject non-finite numbers where previously only
NaNwas rejectedImprove 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.