Skip to content

moment/luxon

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 30, 2023 12:47
July 4, 2021 16:13
January 2, 2022 02:27
July 4, 2021 19:21
March 30, 2023 12:47
March 3, 2023 22:52
July 9, 2022 23:43
October 17, 2017 22:41
September 23, 2018 23:39
January 12, 2018 14:31
July 4, 2021 21:32
December 10, 2021 15:05
March 30, 2023 12:47
July 4, 2021 21:36
March 30, 2023 12:47
July 9, 2022 13:24
July 9, 2022 13:24
March 3, 2023 22:52
March 3, 2023 22:52

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