Working with JavaScript dates is kind of a mess, but you can make it easy with date-fns. It's a library with a bunch of helper functions from adding and subtracting dates and hours to formatting timestamps in any language you need. Stop using Moment.js and clogging up your projects with a bunch of unused code when you can just use date-fns instead...
Download
0 formats
No download links available.
Working with JavaScript dates? Yeah, just use date-fns... | NatokHD