[Webkit-unassigned] [Bug 29063] JSON.stringify(Date) losts the milliseconds information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 8 18:55:23 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29063


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever Confirmed|0                           |1
                 CC|                            |oliver at apple.com
             Status|UNCONFIRMED                 |ASSIGNED




--- Comment #1 from Oliver Hunt <oliver at apple.com>  2009-09-08 18:55:23 PDT ---
> Mmm... IE8's behavior is same as Webkit.
> Is current behavior collect? Is JSON.stringify() useless for apps which want to
> treat the information of milliseconds?
Per spec it is incorrect, but that said, toJSON is a function like any other,
eg.
Date.prototype.toJSON = function() {
   ...
}

-- 
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