comparar
Day.js vs spacetime
Los mismos datos para ambos, leídos de GitHub cada noche, y la relación que revisó una persona.
| Dato | Day.js | spacetime |
|---|---|---|
| Lenguaje | JavaScript | JavaScript |
| Licencia | MIT | Apache-2.0 |
| Estrellas | 49k | 4.1k |
| Última versión | v1.11.23 | 7.18.0 |
| Último push | 2026-11-06 | 2026-11-21 |
| Ritmo de versiones | alrededor de 78 días entre versiones | alrededor de 15 días entre versiones |
| Colaboradores activos | 1 autor de commits en la rama por defecto en los últimos 90 días | 9 autores de commits en la rama por defecto en los últimos 90 días |
| Avisos | ninguno | ninguno |
Cómo se relacionan
Ambos sustituyen a Moment.js. Alternativas a Moment.js →
Sustitución directaDay.jsMoment-compatible API in about 2 kB.
Sustitución completaspacetimeTimezone-aware dates with the timezone data built in, and an immutable API.
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)
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!)
Day.js
sin firmar La última versión, v1.11.23, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad
spacetime
✓ firmada La última versión, 7.18.0, lleva una firma que GitHub ha verificado.
Cargando el informe de seguridad