iamkun/dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

View on GitHub ↗Jump to charts ↓

iamkun/dayjs has 48k+ stars and 5k+ forks on GitHub, is written in JavaScript, and was last pushed on Sep 15, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on August 31st, 2026
Created on April 10th, 2018
Open Issues & Pull Requests: 1,386 (+2)
GitHub issues: Enabled
Number of forks: 5,365
Total Stargazers: 48,659 (+0)
Total Subscribers: 285 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.4 days
Mean response time: 79.9 days
90th percentile: 259.2 days
Tracked items: 265

How this project is maintained

Roughly one issue in two opened in the past year never receives a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 71% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 10% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 271
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 799 days
Stale 30+ days: 253
Stale 90+ days: 234

Recent activity

Opened in 7 days: 2
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 2

Top labels

  • released (6)
  • enhancement (5)
  • ☢️Bug (5)
  • help wanted (2)
  • 🚨 High Priority (2)
  • Breaking Change (1)
  • discussion (1)
  • good first issue (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Day.js is a minimalist JavaScript date and time library that provides a Moment.js-compatible API in a compact footprint. It parses, validates, manipulates, and displays dates and times for modern browsers while maintaining familiarity for developers already using Moment.js.

The library solves the problem of date handling in JavaScript without the overhead of larger alternatives. It achieves this through a minimalist design that keeps the core library extremely small while offering the same modern API patterns developers expect. The tool is immutable, chainable, and supports internationalization through optional locale modules that are only included in your build when explicitly used.

Day.js suits projects where bundle size matters and developers want Moment.js-like ergonomics without the weight penalty. It works well for applications ranging from simple date formatting to complex temporal manipulations. The README positions it explicitly as an alternative to Moment.js, offering the same API surface with significantly reduced overhead. For teams already familiar with Moment.js, adoption requires minimal learning curve since the API is largely compatible.

The project maintains active development with continuous integration checks and test coverage tracking. Plugin architecture allows extending functionality through independent modules without bloating the core library. Internationalization support is built in as an opt-in system rather than a default inclusion. The tool supports all modern browsers and maintains broad compatibility across environments.