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

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 3 13:07:04 PDT 2006


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





------- Comment #5 from staikos at kde.org  2006-05-03 13:07 PDT -------
Here is the relevant test:

+// Tolerance for high values in xx/xx/xxxx
+
+shouldBe("Date.parse('Mar 30 2006')", "1143669600000");
+shouldBe("Date.parse('30/03/2006')", "1212444000000");
+shouldBe("Date.parse('03/30/2006')", "1143669600000");
+shouldBe("Date.parse('24/55/2006')", "1201129200000");
+shouldBe("Date.parse('70/55/2006')", "315097200000");
+shouldBe("Date.parse('00/00/2006')", "1133305200000");
+shouldBe("Date.parse('01/452/2006')", "1175032800000");
+


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