compare
Day.js vs Moment.js
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Day.js | Moment.js |
|---|---|---|
| Language | JavaScript | JavaScript |
| Licence | MIT | MIT |
| Stars | 49k | 48k |
| Latest | v1.11.23 | 2.31.0 |
| Last push | 2026-09-15 | 2026-09-15 |
| Release cadence | about 78 days between releases | too few releases |
| Active contributors | 4 commit authors on the default branch in the last 90 days | 21 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Day.js replaces Moment.js. Alternatives to Moment.js →
Drop-inMoment-compatible API in about 2 kB.
Day.js
- v1.11.232026-08-17plugin: timezone plugin prevent RangeError for invalid Day.js values (#3180) (dad46e6)
- v1.11.222026-08-16plugin: timezone compute instance .tz() offset without host DST (#3174) (e27ee80), closes #3169
- v1.11.212026-05-26preserve unsupported year tokens in format (#3015) (#3016) (8fda602)
- v1.11.202026-03-12Update locale km.js to support meridiem (#3017) (9d2b6a1)
- v1.11.192025-10-31added usage warnings for diff + updated unit tests (#2948) (269a7a9)
Day.js
unsigned The latest release, v1.11.23, carries no signature GitHub could verify.
Loading the security report
Moment.js
✓ signed The latest release, 2.31.0, carries a signature GitHub verified.
Loading the security report