2 ms·
It is standardised and widely implemented. https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#specifications ht
by bmn__ 6y ago
It is standardised and widely implemented.
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#specifications https://developer.mozilla.org/docs/Web/JavaScript/Reference/...
Your code has a bug, missing constructor.