luxon

Immutable date wrapper

luxon downloads luxon version luxon license

luxonSimilar Packages:

Npm Package Weekly Downloads Trend

3 Years
🌟 Show real-time usage chart on luxon's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of luxon](https://npm-compare.com/img/npm-trend/THREE_YEARS/luxon.png)](https://npm-compare.com/luxon#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 Show GitHub stars trend chart on luxon's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of luxon](https://npm-compare.com/img/github-trend/luxon.png)](https://npm-compare.com/luxon)

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
luxon25,729,66116,3794.59 MB1827 months agoMIT

README for luxon

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