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 12:48:48
推送于2025-09-05 10:16:26
最后一次提交2025-09-05 12:16:19
发布数131
最新版本名称3.7.2 (发布于 )
第一版名称0.0.18 (发布于 )
用户参与
星数16.1k
关注者数104
派生数765
提交数1.3k
已启用问题?
问题数1139
打开的问题数155
拉请求数388
打开的拉请求数23
关闭的拉请求数102
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?