luxon

⏱ A library for working with dates and times in JS

Github星跟踪图

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

主要指标

概览
名称与所有者moment/luxon
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-11-30 20:48:48
推送于2025-11-03 05:42:34
最后一次提交2025-10-09 02:39:32
发布数131
最新版本名称3.7.2 (发布于 )
第一版名称0.0.18 (发布于 )
用户参与
星数16.2k
关注者数103
派生数768
提交数1.3k
已启用问题?
问题数1143
打开的问题数157
拉请求数388
打开的拉请求数24
关闭的拉请求数102
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?