1290Re: Full ISO 8601 Date Parser Plus Unobtrusive toISOString
- Jul 5, 2009Personally, I think this would have to extend the Date prototype to be fully useful; like json2.js, its value is in allowing us to write script now using the correct future syntax of ECMAScript 5.
Incidentally, your toISOString function doesn't have handling for the NaN case.
--- In firstname.lastname@example.org, Andrea Giammarchi <andrea.giammarchi@...> wrote:
> Maybe this stuff could be interesting for json2.js file as well, or maybe
> It is a quick and full specs ISO strings parser, really fast, widely
> compatible, unobtrusive, since Date.prototype is not touched (it could be
> touched if everybody agrees about it)
> [Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>