moment/luxon

JavaScriptmoment.github.io/luxon

⏱ A library for working with dates and times in JS

intltimezonesdatestimesdatetime
Croissance des étoiles
Étoiles
16.5k
Forks
805
Croissance hebdomadaire
+-1
Issues
157
5k10k15k
juil. 2016déc. 2019mai 2023oct. 2026
Artefactsnpm
README

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