Consider date formatting

kdex kdex at kdex.de
Thu Sep 21 06:45:48 UTC 2017


So what's wrong with Intl.DateTimeFormat?

On Thursday, September 21, 2017 8:41:33 AM CEST Michael Kriegel wrote:
> I would like to suggest to take up date formatting into the standard.
> Either as optional format parameter on Date.prototype.toDateString() or
> as a separate method Date.prototype.toFormattedDateString(format).
> 
> format should be a string in the form as specified in
> https://tc39.github.io/ecma262/#sec-date-time-string-format
> 
> I know there are libraries for that, but I think it is fundamental
> enough to put it into the standard instead.
> 
> I hope this was not already discussed before and I just did not find the
> thread.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170921/9b6673bb/attachment.sig>


More information about the es-discuss mailing list