this post was submitted on 24 Jan 2025
55 points (100.0% liked)

JavaScript

2172 readers
6 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Deebster@programming.dev 2 points 4 weeks ago (2 children)

date-fns? It's third in my search results but doesn't ring any bells to me.

[–] Zectivi@sh.itjust.works 6 points 4 weeks ago

Day.js possibly. It’s a near drop-in for moment since moment is deprecated.

[–] SaintWacko@slrpnk.net 3 points 4 weeks ago

Yeah, that one! It's a pretty nice library. The difference between it and moment is that date-fns operates on standard Date objects, rather than having its own type