luxon

⏱ A library for working with dates and times in JS

Github stars Tracking Chart

Luxon

MIT License Build Status NPM version Coverage Status Doc coverage PRs welcome

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

Download/install instructions

Documentation

Development

See contributing.

Phasers to stun

Main metrics

Overview
Name With Ownermoment/luxon
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-11-30 12:48:48
Pushed At2025-04-07 16:50:37
Last Commit At2025-04-07 18:50:34
Release Count128
Last Release Name3.6.1 (Posted on )
First Release Name0.0.18 (Posted on )
用户参与
Stargazers Count15.8k
Watchers Count106
Fork Count750
Commits Count1.3k
Has Issues Enabled
Issues Count1124
Issue Open Count154
Pull Requests Count380
Pull Requests Open Count30
Pull Requests Close Count98
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private