by jazoom · 9y ago · 0 comments
date-fns seems good, moment works well too, despite its flaws, this new one is worth looking at.
Dismissing all other libraries isn't very helpful.
And yes, I realise all other libraries are wrappers around Date. It works well enough for 99% of cases.
EDIT: My precious internet points! ;) - wait, is this not a page of examples, as linked to from the GitHub page?
You can built syntactic sugar around js-joda too.
I develop Java/kotlin as well, so I'm used to the API. It feels verbose, but it makes a lot of sense. Date-handling is complex, a library shouldn't hide that.