comparar
Day.js vs spacetime
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | Day.js | spacetime |
|---|---|---|
| Linguagem | JavaScript | JavaScript |
| Licença | MIT | Other |
| Estrelas | 49k | 4.1k |
| Última release | v1.11.23 | 7.16.0 |
| Último push | 2026-09-15 | 2026-10-01 |
| Ritmo de releases | cerca de 78 dias entre releases | cerca de 19 dias entre releases |
| Contribuidores ativos | 4 autores de commits na branch padrão nos últimos 90 dias | 4 autores de commits na branch padrão nos últimos 90 dias |
| Alertas | nenhum | nenhum |
Como se relacionam
Os dois substituem Moment.js. Alternativas a Moment.js →
Drop-inDay.jsMoment-compatible API in about 2 kB.
Substituição 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.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!)
- 7.14.02026-09-11[new] - support JavaScript's Date.toString() fmt as input #465
- 7.13.02026-06-23[fix] - typescript config issue
- 7.12.12026-05-27[fix] - regression for today param in object format
Day.js
não assinada A última release, v1.11.23, não tem nenhuma assinatura que o GitHub consiga verificar.
Carregando o relatório de segurança
spacetime
✓ assinada A última release, 7.16.0, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança