Or date-fns
shorten pros:
date-fns is way lighter
moment-js has a calendar view (“tomorrow at…”) but is heavier
also compare the internalization in case you use another language than english
Or date-fns
shorten pros:
date-fns is way lighter
moment-js has a calendar view (“tomorrow at…”) but is heavier
also compare the internalization in case you use another language than english