From a4206a91a314226bbff69094069e118bbd54bb65 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 17 Aug 2014 14:27:26 +0300 Subject: gant: fix support for firefox: doesn't support 01-01-2018 style dates (/ is supported by both chrome and firefox) --- scripts/rhizicore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index ffbab7ee..f72d5176 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -772,7 +772,7 @@ function deliverableTest() { if (Math.random() > 0.7) status = "done"; else if (Math.random() > 0.5) status = "current"; else status = "waiting"; - var end = randomDate(new Date(), new Date("01-01-2018")); + var end = randomDate(new Date(), new Date("01/01/2018")); var start = randomDate(new Date(), end); graph.addNodeComplete("Task " + i, "deliverable", "perm", start, end, status); } -- cgit v1.3.1