News for hackers. Stuff that matters.
Re:ISO 8601: a better date format by rhn_mk1 on Friday February 26, 2021 @04:20AM (#26272877)
> Date().toLocaleDateString() > Uncaught TypeError: Date().toLocaleDateString is not a function

That doesn't seem like a standard API call.

Re:ISO 8601: a better date format by bmn__ on Friday February 26, 2021 @04:39AM (#26273010)
It is standardised and widely implemented.

https://developer.mozilla.org/docs/Web/JavaScript/Reference/...

Your code has a bug, missing constructor.

Re:ISO 8601: a better date format by teh_klev on Friday February 26, 2021 @08:56AM (#26274758)
Looks like an instance method, rather than a static.