Consider date formatting

Michael Kriegel michael.kriegel at actifsource.com
Thu Sep 21 07:17:43 UTC 2017


Quoting my initial posting:

 > I know there are libraries for that, but I think it is fundamental 
enough to put it into the standard instead.

Isn't it legitimate to ask for a defacto-standard to become a real 
standard...


On 21.09.2017 09:13, Bob Myers wrote:
> There are third-party libraries which are so widely-used as to be 
> defacto standards.
> Bob
>
> On Thu, Sep 21, 2017 at 12:11 PM, Michael Kriegel 
> <michael.kriegel at actifsource.com 
> <mailto:michael.kriegel at actifsource.com>> 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
>     <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.
>
>     -- 
>     Michael Kriegel • Head of R&D • Actifsource AG • Haldenstrasse 1 •
>     CH-6340 Baar • www.actifsource.com <http://www.actifsource.com> •
>     +41 56 250 40 02
>
>
>     _______________________________________________
>     es-discuss mailing list
>     es-discuss at mozilla.org <mailto:es-discuss at mozilla.org>
>     https://mail.mozilla.org/listinfo/es-discuss
>     <https://mail.mozilla.org/listinfo/es-discuss>
>
>

-- 
Michael Kriegel • Head of R&D • Actifsource AG • Haldenstrasse 1 • CH-6340 Baar • www.actifsource.com • +41 56 250 40 02

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170921/5eb390ef/attachment.html>


More information about the es-discuss mailing list