# moment/luxon

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/moment-luxon).**

16,360 stars · 770 forks · JavaScript · mit

## Links

- GitHub: https://github.com/moment/luxon
- Homepage: https://moment.github.io/luxon
- awesome-repositories: https://awesome-repositories.com/repository/moment-luxon.md

## Topics

`dates` `datetime` `intl` `times` `timezones`

## Description

Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a suite of immutable objects for managing points in time, durations, and intervals, ensuring that all transformations return new instances to maintain predictable state.

The library distinguishes itself by leveraging the native Internationalization API and environment-based time zone databases. This architecture allows for localized date formatting and global time zone conversions without requiring external data files or additional dependencies. It also supports non-Gregorian calendar systems to accommodate diverse regional requirements.

The library features a chainable, fluent interface that organizes complex temporal operations into readable sequences. Its core design separates parsing logic from rendering logic, providing a consistent framework for calendar arithmetic, interval calculations, and cross-cultural date representation.

## Tags

### Data & Databases

- [Date and Time Libraries](https://awesome-repositories.com/f/data-databases/date-and-time-libraries.md) — Acts as a comprehensive library for parsing, validating, manipulating, and formatting dates and times.
- [Immutable Date Libraries](https://awesome-repositories.com/f/data-databases/immutable-date-libraries.md) — Provides a suite of immutable objects for managing points in time, durations, and intervals with chainable methods.
- [Time Zone Management](https://awesome-repositories.com/f/data-databases/time-zone-management.md) — Synchronizes temporal data across geographic regions while managing daylight savings and offset changes.
- [Chainable Date Utilities](https://awesome-repositories.com/f/data-databases/chainable-date-utilities.md) — Provides a fluent, chainable API for performing complex date and time operations with readable method sequences.
- [Immutable Date Processing](https://awesome-repositories.com/f/data-databases/immutable-date-processing.md) — Enforces immutability by returning new instances for every transformation to ensure predictable state during date arithmetic.

### Web Development

- [Internationalized Date Formatting](https://awesome-repositories.com/f/web-development/internationalized-date-formatting.md) — Transforms raw temporal values into human-readable text adhering to specific language and regional cultural conventions.
- [Time Zone Managements](https://awesome-repositories.com/f/web-development/internationalization-localization/locale-sensitive-utilities/time-zone-managements.md) — Performs time zone conversions and locale-specific formatting natively without external data files. ([source](https://cdn.jsdelivr.net/gh/moment/luxon@master/README.md))
- [Internationalization Utilities](https://awesome-repositories.com/f/web-development/internationalization-utilities.md) — Uses the native Internationalization API to handle locale-specific formatting and calendar rules without external dependencies.

### Development Tools & Productivity

- [Date Formatting Utilities](https://awesome-repositories.com/f/development-tools-productivity/date-formatting-utilities.md) — Converts date strings into structured objects and outputs them as localized or standard formats. ([source](https://cdn.jsdelivr.net/gh/moment/luxon@master/README.md))

### Programming Languages & Runtimes

- [Time Zone Converters](https://awesome-repositories.com/f/programming-languages-runtimes/programming-utilities/date-and-time-utilities/time-zone-converters.md) — Converts specific moments in time between different geographic regions or UTC for consistent data handling. ([source](https://moment.github.io/luxon/demo/global.html))

### Part of an Awesome List

- [Date And Time](https://awesome-repositories.com/f/awesome-lists/devtools/date-and-time.md) — Library for working with dates and times.
- [Date and Time Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/date-and-time-utilities.md) — Powerful library for handling dates and time zones.
- [Date Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/date-utilities.md) — Library for working with dates and times.

### User Interface & Experience

- [Alternative Calendar Systems](https://awesome-repositories.com/f/user-interface-experience/ui-components/form-input-components/calendar-components/alternative-calendar-systems.md) — Supports non-Gregorian calendar systems to accommodate diverse regional and cultural date-keeping requirements. ([source](https://moment.github.io/luxon/))
