Skip to content

moment/luxon

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Aug 26, 2023
Jul 4, 2021
Nov 18, 2023
Jul 4, 2021
Nov 18, 2023
Aug 26, 2023
Aug 14, 2023
Nov 14, 2023
Jul 9, 2022
Nov 14, 2023
Oct 18, 2017
Sep 24, 2018
Jan 12, 2018
Jul 5, 2021
Dec 10, 2021
Mar 7, 2019
Nov 12, 2023
Jan 3, 2023
Jul 5, 2021
Mar 30, 2023
Jul 9, 2022
Mar 12, 2018
Jul 9, 2022
Jan 20, 2024
Jan 20, 2024

Repository files navigation

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