[Webkit-unassigned] [Bug 6870] REGRESSION: JavaScript Date constructor won't accept another Date object

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jan 27 20:11:09 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6870


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|NeedsReduction              |HasReduction
            Summary|REGRESSION: Issue with      |REGRESSION: JavaScript Date
                   |displaying dates            |constructor won't accept
                   |                            |another Date object




------- Comment #6 from ddkilzer at kilzer.net  2006-01-27 20:11 -------
The Date object in JavaScript won't accept another Date object in a
single-argument constructor:

  var d = new Date(new Date());  // Results in "Invalid Date" 

Works correctly in Firefox 1.5 and Safari 2.0.3 (417.8) on 10.4.4.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list