From 0049ceb758c12d61ce8282a55cf4c299e7992e5a Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 5 Jan 2012 12:10:20 -0500 Subject: [PATCH] More direct browser version verification test for filtering FF3.5. --- auto_tests/tests/date_formats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_tests/tests/date_formats.js b/auto_tests/tests/date_formats.js index d0e419a..05a62c6 100644 --- a/auto_tests/tests/date_formats.js +++ b/auto_tests/tests/date_formats.js @@ -18,7 +18,7 @@ dateFormatsTestCase.prototype.testISO8601 = function() { // Firefox <4 does not support this format: // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/parse - if (new Date("2000-01-02T12:34:56.789012Z")) { + if (navigator.userAgent.indexOf("Firefox/3.5") == -1) { assertEquals(946816496789, Dygraph.dateParser("2000-01-02T12:34:56.789012Z")); } }; -- 2.7.4