3 ms·
That mostly talks about using other date libraries instead of momentjs, not that you don't need date libraries. Yes, obviously you can forego DRY and write and
by dragonwriter 7y ago
That mostly talks about using other date libraries instead of momentjs, not that you don't need date libraries.
Yes, obviously you can forego DRY and write and maintain a bunch of boilerplate for date manipulation, or write and maintain your own date library, but for most uses itmakes a lot more sense to use an existing library. For new uses, probably not momentjs, though—probably date-fns, or luxon, or...