X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fdate_formats.js;h=05a62c676d1335d4427f406d3a245512eef2ed9f;hb=7f6a719056e1da51c5a27727ac5341d6664de428;hp=d0e419a339ec4f988019b0943846466697de24ed;hpb=3438387b31dda65c811a916df21d11c9b3ed9b47;p=dygraphs.git 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")); } };