Luxon
Reasonable, with limits. 4th of 10 date and time libraries.
Luxon is an immutable, Intl-based date and time library from a Moment.js maintainer. It has strong built-in time zone, Duration and Interval support. It still works well, but it has had no release since September 2025. Native Temporal now covers most of the same ground, so it is a reasonable choice rather than the default one.
Best for: Teams that need heavy time zone and calendar maths in modern browsers or Node.js today and want a chainable object API without shipping time zone data.
Scores
Overall6.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Luxon is still a well-designed library and the best of the classic libraries for time zones. Releases have stalled for 14 months, and native Temporal or its polyfills now do the same job with a future-proof API. For most new projects, date-fns is better maintained and more widely chosen. Pick Luxon when its time zone and Interval API fits and you accept slow upkeep.
- npm latestPublishedAt: Last release 2025-09-05
- peers temporal-polyfill: Download ratio of 13, a fast shift toward Temporal
- pkgpulse.com/guides/best-javascript-date-libraries-2026: Recommends Luxon for time zone-heavy apps and date-fns as the general pick
GPT-6.2 Sol: 7.1, likely 6.0 to 8.2
Luxon is a strong pick when named-zone arithmetic, durations, and intervals are central to the project. For a general-purpose TypeScript project, date-fns has the edge through bundled types and a more active release cadence. The long gap between Luxon releases and the uncertain timing of version 4 keep the recommendation below the category’s best.
- github.com/moment/luxon: Stable API covers named zones, durations, intervals, and locale-aware formatting.
- npm.latestPublishedAt, npm.versionsLastYear, peers: Luxon published no version in the past year, while date-fns published in May 2026.
- blog.date-fns.org/v40-with-time-zone-support: date-fns v4 added first-class zone support through an optional companion package.
- github.com/date-fns/date-fns/blob/main/README.md: date-fns includes TypeScript support.
- github.com/moment/luxon/discussions/1742: Version 4 is planned and the maintainer reported a delay.
Needed by many6.8
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Most web and Node projects handle dates, and many need time zones, which is where Luxon is strongest. It works on any modern runtime, so it is not tied to one framework. It is a little narrower than the whole category because weak Intl support in some runtimes, such as React Native, limits it.
- category job: Date handling is needed in most JS apps
- pistack.xyz/posts/2026-07-14-javascript-datetime-libraries-dayjs-luxon-datefns-jsjoda: Notes Intl limits in React Native and some server runtimes
GPT-6.2 Sol: 6.6, likely 5.4 to 7.7
Date parsing, arithmetic, and display matter across web apps, backends, and automation. Luxon works across browsers and Node.js, with its clearest appeal in projects that handle named time zones or localized dates. The share of projects that need a full library is hard to estimate because native Date and Intl already cover basic cases.
- github.com/moment/luxon: Framework-independent API for parsing, formatting, and date arithmetic.
- 2025.stateofjs.com/en-US/other-tools: Several date libraries rank among respondents’ regularly used tools.
- github.com/moment/luxon/blob/3.7.2/docs/zones.md: Documents named zones and reliance on the runtime’s Intl support.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Its time zone handling, immutable API, ISO parsing, and Duration and Interval types are among the best of the library options. The limits are clear: types come from DefinitelyTyped, the bundle does not tree-shake, and recent issues report edge-case bugs in Interval and Duration. Native Temporal now offers a more complete and correct model for the same job.
- npm hasTypes: No bundled types
- github.com/moment/luxon/issues: 2026 bugs in Interval, Duration and Node 26 formatToParts
- reintech.io/blog/date-fns-vs-dayjs-vs-luxon-comparison-2026: Rated strongest for time zones but heaviest
- lightrun.com/answers/moment-luxon-plus-across-dst-boundary-not-working-as-expected: Users hit DST edge cases
GPT-6.2 Sol: 8.0, likely 7.0 to 9.1
Luxon 3.7.2 combines named-zone arithmetic, localized formatting, durations, and intervals in one documented API. Clear method names and parser diagnostics help developers and coding agents use it, though agent performance is unmeasured. Separate TypeScript declarations, invalid objects returned by default, and ambiguous daylight-saving times leave room for mistakes. MUI’s bundle test also shows a meaningful size cost for browser projects.
- github.com/moment/luxon/blob/master/docs/parsing.md: Documents supported formats, parsing limits, and fromFormatExplain.
- github.com/moment/luxon/blob/3.7.2/docs/validity.md: Explains invalid objects and how to inspect parsing failures.
- github.com/moment/luxon/issues/1665: A user reported inconsistent offset selection for an ambiguous local time. The maintainer confirms getPossibleOffsets exposes both choices.
- npm.hasTypes: The stable package ships without TypeScript declarations.
- raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/luxon/package.json: DefinitelyTyped maintains the declarations separately.
- mui.com/x/react-date-pickers/base-concepts: MUI’s July 2026 Vite test found Luxon heavier than both date-fns and Day.js in its picker.
Holds up over time5.1
Will it still be a good choice in two years?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
There were no releases in the last year and only 22 commits. Open bugs from autumn 2026, including test failures on Node 26, have no fix yet. Issues labelled v4 show some planning, but there is no published timeline. Temporal now shipping natively draws the ecosystem away from wrapper libraries like Luxon.
- npm versionsLastYear: 0 releases; latest 3.7.2 from 2025-09-05
- github commitsLastYear: 22 commits, versus 321 for date-fns
- github.com/moment/luxon/issues: Node 26 test failures and v4-labelled issues are open
- nodesource.com/blog/javascript-temporal-history-nodejs-26: Temporal is enabled in Node 26
GPT-6.2 Sol: 5.7, likely 4.4 to 7.1
Luxon recorded 22 commits in the past year and merged fixes in August 2026, but its last npm release was in September 2025. The lead maintainer reported a delay for version 4, whose roadmap proposes breaking changes to invalid inputs and duration arithmetic. Release coverage beyond the lead maintainer is unclear, and FullCalendar’s move to Temporal makes the two-year outlook less certain.
- github.commitsLastYear, github.openPullRequests, npm.latestPublishedAt, npm.versionsLastYear: 22 commits, 63 open pull requests, and no npm versions published in the past year.
- github.com/moment/luxon/commits: Shows multiple contributors and fixes merged in August 2026.
- github.com/moment/luxon/discussions/1742: The maintainer reports a delay and discusses proposed breaking changes with users.
- fullcalendar.io/docs/upgrading-from-v6: FullCalendar 7 moved time-zone resolution to Temporal and kept Luxon formatting as an option.
Used widely6.2
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Luxon has about 235M downloads in four weeks and 78k dependent repositories. That is large, but it is about a tenth of date-fns' dependent repositories. Its download ratio of 3.4 is below the 4.1 median, so it is slowly losing ground, much like date-fns and Day.js, while the Temporal polyfills grow fast. Survey counts put it fourth, behind date-fns, Moment and Day.js.
- npm downloadsLast4Weeks: 235M now versus 68.7M a year ago, a ratio of 3.4
- dependents repos: 78k, versus 750k for date-fns and 490k for Day.js
- javascript.plainenglish.io/the-javascript-ecosystem-just-had-its-chatgpt-moment-and-you-probably-missed-it-b3c69dc7e445: Reports State of JS 2025 usage: Luxon at 1,149, behind the other three
GPT-6.2 Sol: 5.9, likely 4.9 to 7.0
Ecosyste.ms found about 78,000 dependent repositories and 3,900 npm packages, a substantial footprint that trails date-fns and Day.js. Four-week downloads rose from 68.7 million to 235.2 million, or 3.43× against the catalog’s 4.1× baseline, so Luxon lost ground on that measure. Automated installs and downstream dependencies make the direct-choice share of those downloads uncertain.
- dependents, peers: 78,053 tracked Luxon repositories versus 750,093 for date-fns and 490,144 for Day.js.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: Luxon’s 3.43× download growth was below the 4.1× baseline.
- github.stars, bluesky.posts: About 16,500 stars and one tracked Bluesky link post in 24 months.
- 2025.stateofjs.com/en-US/other-tools: 1,149 regular users reported Luxon, versus 4,182 for date-fns and 2,629 for Day.js.
- docs.n8n.io/build/work-with-data/handle-special-data-types/work-with-dates-and-times.md: n8n exposes Luxon to workflow users through built-in date functions.
Vouched for6.4
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.5 to 7.0
Independent comparisons consistently recommend Luxon for time zone-heavy work. Moment.js points users to it, and companies such as Coda have written about migrating to it. Recent independent endorsement is thin, and Hacker News and Bluesky show almost no current attention. Most current comparison guides are vendor-style blogs.
- medium.com/coda-project/bringing-coda-up-to-date-25-hours-days-and-other-things-i-learned-when-migrating-from-moment-date-5ad452427c28: Coda migrated from Moment to Luxon
- momentjs.com/news: Moment project lists Luxon as an alternative
- bluesky posts: 1 post; Hacker News stories have 1 to 2 points
GPT-6.2 Sol: 7.2, likely 6.1 to 8.3
n8n uses Luxon for workflow dates, and MUI X maintains and benchmarks a Luxon adapter. In the 2024 State of Frontend survey, 15.6% of respondents said they used and liked Luxon and 4% said they used and disliked it. The age of that satisfaction data and FullCalendar’s move to Temporal for time-zone resolution limit the score.
- docs.n8n.io/build/work-with-data/handle-special-data-types/work-with-dates-and-times.md: Luxon handles workflow-aware dates and times in n8n.
- mui.com/x/react-date-pickers/base-concepts: MUI X maintains an adapter and measures its cost in a production build.
- tsh.io/state-of-frontend?trk=public_post_feed-article-content: Independent 2024 survey reports more positive than negative experiences with Luxon.
- fullcalendar.io/docs/upgrading-from-v6: FullCalendar continues to support Luxon formatting and now resolves time zones through Temporal.
Safe7.1
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero dependencies and an MIT licence. Its only advisory, a 2023 ReDoS, has been fixed. The OpenSSF Scorecard is weak at 4.4: there is no security policy, no branch protection, broad token permissions, and no SAST or fuzzing. Releases come from a small group of people.
- advisories: 1 HIGH ReDoS in 2023, fixed; none in the last 24 months
- scorecard: 4.4 overall; Security-Policy and Branch-Protection at 0
- npm dependencies: 0 runtime dependencies
GPT-6.2 Sol: 7.2, likely 6.0 to 8.4
Luxon has zero runtime dependencies and a permissive MIT licence. The project disclosed its one known high-severity advisory in 2023 with fixes for all three affected major versions, and the bundle lists no advisories in the past two years. The 4.4 OpenSSF Scorecard flags weak workflow token permissions, dependency pinning, and branch protection. Publishing controls and publisher coverage remain unclear.
- npm.dependencies, npm.license, advisories.last24Months: Zero runtime dependencies, MIT licence, and no advisories recorded in the last 24 months.
- github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc: The disclosure lists patched releases for versions 1, 2, and 3.
- scorecard.score, scorecard.checks: 4.4 overall. Token permissions and branch protection scored zero, and packaging and signed releases were unassessed.
Good
- Time zones, DST and locale formatting are built in through the platform's Intl API, with no time zone database to ship.
- Immutable DateTime objects with first-class Duration and Interval types make date maths explicit and hard to get wrong.
- It has zero runtime dependencies and an MIT licence.
- The documentation and API are mature and stable on the 3.x line, so AI agents write correct code for it reliably.
Bad
- There has been no npm release since 3.7.2 in September 2025, and bug reports from autumn 2026 sit unanswered.
- It ships no types of its own, so TypeScript users need @types/luxon from DefinitelyTyped.
- The bundle is larger than Day.js or tree-shaken date-fns, because Luxon is one class-based bundle.
- Native Temporal, now shipping in Node 26 and current browsers, does the same job without a dependency.
The numbers
- npm downloads, 4 weeks
- 235M ×3.4 in a year
- GitHub stars
- 16k
- Commits, 12 months
- 22
- npm version
- 3.7.2 Sept 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 1 ever
- OpenSSF Scorecard
- 4.4 out of 10, Oct 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (moment/luxon), npm (luxon), OSV and the OpenSSF Scorecard.
Date and time libraries
- 8.0date-fns
- 7.5temporal-polyfill
- 6.8Day.js
- 6.6Luxon
- 5.5Tempo
- 5.2Spacetime
- 5.0@js-temporal/polyfill
- 4.2date-fns-tz
- 3.8Moment Timezone
- 3.6Moment.js