luxon
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/luxon package

3.4.4 • Public • Published

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();

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

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i luxon

    Weekly Downloads

    7,150,828

    Version

    3.4.4

    License

    MIT

    Unpacked Size

    4.33 MB

    Total Files

    40

    Last publish

    Collaborators

    • icambron