Any recommendations for a date library?
From my research it seems date-fns and dayjs are the most used ones. Does anyone have any experience with these or any other that you recommend?
Eventually my app will have pretty robust scheduling functionality including scheduling online classes with 30 min. intervals.
Thanks!
4 Replies
date-fns is good. There's also luxon https://moment.github.io/luxon/#/
luxon - Immutable date wrapper
Immutable date wrapper
I find that a lot of projects that use these libraries don't actually need them and the functionality can be done with
Date
and Intl
Thanks, I'll check it out
Thanks but I'm going to be working with dates and times quite extensively on my app so I'd rather use a library
to highlight what ronan mentioned for the most part the native date api is pretty good
temporal is on stage 3, so that's exciting!