Date.prototype.toISOString and Invalid Date
dhtmlkitchen at gmail.com
Wed Jun 10 11:40:37 PDT 2009
On Wed, Jun 10, 2009 at 8:48 AM, Allen
Wirfs-Brock<Allen.Wirfs-Brock at microsoft.com> wrote:
> I believe that support for ISO dates in ES5 is intended to provide a standard interchange format for dates, not for providing a locale customized format for human consumption.
While I agree that throwing makes sense, it is not for that reason.
ISO 8601 is intended for human consumption.
It would be useful for toISOString to allow the caller to provide a format.
(again, inline replies help keep the thread continuity -- thanks!)
More information about the es-discuss