bandingkan
date-fns vs spacetime
Fakta yang sama untuk keduanya, dibaca dari GitHub setiap malam, dan hubungan keduanya yang ditinjau oleh manusia.
| Fakta | date-fns | spacetime |
|---|---|---|
| Bahasa | TypeScript | JavaScript |
| Lisensi | Tidak terdeteksi | Apache-2.0 |
| Bintang | 37k | 4.1k |
| Terbaru | v4.4.0 | 7.18.0 |
| Push terakhir | 2026-10-26 | 2026-11-21 |
| Frekuensi rilis | sekitar 4 hari antar rilis | sekitar 15 hari antar rilis |
| Kontributor aktif | 1 penulis commit di branch default dalam 90 hari terakhir | 9 penulis commit di branch default dalam 90 hari terakhir |
| Peringatan | Tidak ada lisensi terdeteksi | tidak ada |
Hubungan keduanya
Keduanya menggantikan Moment.js. Alternatif Moment.js →
Pengganti penuhdate-fnsPlain functions over native Date, tree-shakable.
Pengganti penuhspacetimeTimezone-aware dates with the timezone data built in, and an immutable API.
date-fns
- v5.0.0-alpha.02026-05-29v5 focuses on reducing the date-fns package size. Compared to v4.3.0, this version reduces the zipped package size from…pra-rilis
- v4.4.02026-05-29This release revisits the approach to CDN usage and introduces a new package, @date-fns/cdn and deprecates the date-fns…
- v4.3.02026-05-22Kudos to @ImRodry and @puneetdixit200 for their contributions.
- v4.2.12026-05-18Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.
- v4.2.02026-05-18This is a minor release in all senses, it only includes documentation updates (first of many) that points to the new Yo…
spacetime
- 7.18.02026-11-21[update] - 2027 DST changes
- 7.17.12026-11-06[fix] - #479 year-arithmetic on leap
- 7.17.02026-10-16[change] - #212 return proper titlecased IANA codes in .whereIts()
- 7.16.02026-10-01[change] deprecated but exposed .d date now is in UTC - users can do s.toNativeDate()
- 7.15.02026-09-19[fix] - stale dst offsets #470 (thanks Sudarshan!)
date-fns
✓ bertanda tangan Rilis terbaru, v4.4.0, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan
spacetime
✓ bertanda tangan Rilis terbaru, 7.18.0, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan