# moment/luxon

⏱ A library for working with dates and times in JS

Repository: https://github.com/moment/luxon
Canonical: https://ross.abutalabs.com/products/luxon
Homepage: https://moment.github.io/luxon
Language: JavaScript
License: MIT
License Family: permissive
Topics: intl, timezones, dates, times, datetime
Last push: 2026-08-09T12:44:46+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3929, "days_push": 24, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16445, forks 795 (observed 2026-08-28T04:11:16.460563+00:00)

## What it is
Luxon is a JavaScript library for working with dates and times, providing DateTime, Duration, and Interval types with an immutable, chainable API. It leverages native Intl and time zone support, requiring no locale or tz data files.

## Use cases
- format dates in JavaScript
- convert timestamps between timezones
- parse date strings into datetime objects
- calculate durations between dates
- handle locale-aware date formatting
- work with ISO 8601 dates

## When to choose
- you need robust timezone handling in JS without extra tz data files
- you want an immutable, modern alternative to Moment.js
- you need locale-aware formatting via native Intl

## When to avoid
- you need date scheduling/calendar UI components
- your environment lacks Intl support
- you only need simple date math and want a tiny dependency

## Facets
- artifact type: library
- maturity: stable
- function: date-time, internationalization
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: datetime, timezones, intl, immutable, javascript, localization, nodejs

## Member repositories
- moment/luxon (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:16.460563+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:05:06.107220+00:00, confidence not recorded.
  - readme: https://github.com/moment/luxon (fetched 2026-08-28T04:11:16.460563+00:00, sha ea4d94c560da)
  - homepage: https://moment.github.io/luxon (fetched 2026-08-29T08:02:41.223339+00:00, sha f51dcabdade2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
