[Webkit-unassigned] [Bug 29063] JSON.stringify(Date) loses the milliseconds information
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 8 20:20:04 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29063
--- Comment #2 from Shumpei Shiraishi <shumpei.shiraishi at gmail.com> 2009-09-08 20:20:04 PDT ---
> Per spec it is incorrect, but that said, toJSON is a function like any other,
> eg.
> Date.prototype.toJSON = function() {
> ...
> }
OK, I see.
And I wrote a JS library for ISO-8601 date format. It is useful to implement
the custom Date.prototype.toJSON().
http://wiki.github.com/shumpei/iso8601.js/
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list