moment/luxon
A library for working with dates and times in JS
repo name | moment/luxon |
repo link | https://github.com/moment/luxon |
homepage | https://moment.github.io/luxon |
language | JavaScript |
size (curr.) | 77640 kB |
stars (curr.) | 9095 |
created | 2015-11-30 |
license | MIT License |
Luxon
Luxon is a library for working with dates and times in Javascript.
DateTime.local().setZone('America/New_York').minus({ weeks: 1 }).endOf('day').toISO();
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
Documentation
Development
See contributing.