JSPM

  • Created
  • Published
  • Downloads 16300370
  • Score
    100M100P100Q214735F
  • License MIT

Immutable date wrapper

Package Exports

  • luxon
  • luxon/build/cjs-browser/luxon
  • luxon/src/datetime
  • luxon/src/datetime.js
  • luxon/src/interval

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (luxon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

Upgrading to 2.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