Luxon
⏱ A library for working with dates and times in JS
Install / Use
/learn @moment/LuxonREADME
Luxon
Luxon is a library for working with dates and times in JavaScript.
DateTime.now().setZone("America/New_York").minus({ weeks: 1 }).endOf("day").toISO();
🚀 The road to Luxon 4.0
Please read about and share your feedback on the plans for the next major version of Luxon!
Upgrading to 3.0
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
Documentation
Development
See contributing.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
