JavaScript MIT

luxon

⏱ A library for working with dates and times in JS

M

moment

Dernière activité 9 août 2026
moment/luxon

16,5 k

étoiles

803

forks

192

issues ouvertes

datesdatetimeintltimestimezones

Ce README est souvent en anglais.

Luxon

MIT License Build Status NPM version Coverage Status PRs welcome

Luxon is a library for working with dates and times in JavaScript.

DateTime.now().setZone("America/New_York").minus({ weeks: 1 }).endOf("day").toISO();

🚀 The road to Luxon 4.0

Please read about and share your feedback on the plans for the next major version of Luxon!

Upgrading to 3.0

Guide

Features

  • DateTime, Duration, and Interval types.
  • Immutable, chainable, unambiguous API.
  • Parsing and formatting for common and custom formats.
  • Native time zone and Intl support (no locale or tz files).

Download/install

Download/install instructions

Documentation

Development

See contributing.

Phasers to stun

Projets similaires

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

JavaScriptdatedate-formattingdatetime
Iiamkun
48,7 k étoiles3,7 k

Parse, validate, manipulate, and display dates in javascript.

JavaScript
Mmoment
47,9 k étoiles7 k

⏳ Modern JavaScript date utility library ⌛️

TypeScriptdatedate-fnshacktoberfest
Ddate-fns
36,6 k étoiles2 k