News for hackers. Stuff that matters.
Re:It’s OK for your open source library to be a bit shitty (... by orange8 on Monday May 18, 2020 @02:58AM (#23219196)
You did not have to, moment.js is just a wrapper around the dozens of inbuilt functions provided by the Date object.

Why could you not have used Date.toLocaleDateString() or Date.toDateString() or Date.toISOSting() or any other of the inbuilt functions outlined here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

There are no comments on this comment yet.