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
September 12, 2022 21:58
July 4, 2021 16:13
January 2, 2022 02:27
July 4, 2021 19:21
November 28, 2022 23:22
February 23, 2022 13:35
July 9, 2022 23:43
src
January 16, 2023 17:42
January 16, 2023 17:42
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
December 29, 2022 09:41
July 4, 2021 21:36
July 9, 2022 13:24
July 9, 2022 13:24
January 4, 2023 15:25

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