[Webkit-unassigned] [Bug 8722] IE compatibility fix in date parsing

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu May 4 09:40:28 PDT 2006


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





------- Comment #7 from staikos at kde.org  2006-05-04 09:40 PDT -------
I think that was a testcase problem.  Updated testcases:

 // Tolerance for high values in xx/xx/xxxx
+shouldBe("new Date('03/30/2006').getDate()", "30");
+shouldBe("new Date('Mar 30 2006').toString()", "new
Date('03/30/2006').toString()");
+shouldBe("new Date('30/03/2006').toString()", "new Date('Jun 03
2008').toString()");
+shouldBe("new Date('24/55/2006').getFullYear()", "2008");
+shouldBe("new Date('70/55/2006').getDate()", "27");
+shouldBe("new Date('00/00/2006').toString()", "new Date('Nov 30
2005').toString()");
+shouldBe("new Date('01/452/2006').toString()", "new Date('Mar 28
2007').toString()");


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