# Luxon: 6.6 out of 10

Reasonable, with limits. 4th of 10 in [Date and time libraries](https://elestia.ai/opensource/dates/index.md).

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

- **Overall: 6.6** (likely 5.5 to 7.6)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (7.1): 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.
- **Needed by many: 6.8** (likely 5.7 to 7.9)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.6): 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.
- **Helps a lot: 7.5** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (8.0): 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.
- **Holds up over time: 5.1** (likely 4.0 to 6.6)
  - Claude Opus 5.5 (4.5): 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.
  - GPT-6.2 Sol (5.7): 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.
- **Used widely: 6.2** (likely 5.2 to 7.3)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.9): 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.
- **Vouched for: 6.4** (likely 5.3 to 7.7)
  - Claude Opus 5.5 (5.5): 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.
  - GPT-6.2 Sol (7.2): 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.
- **Safe: 7.1** (likely 6.0 to 8.2)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.2): 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.

## 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

- Downloads, 4 weeks: 235M
- In a year: ×3.4
- GitHub stars: 16k
- Commits, 12 months: 22
- Last npm release: Sept 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/moment/luxon
- npm: https://www.npmjs.com/package/luxon

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
