summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-08-17 14:27:26 +0300
committerAlon Levy <alon@pobox.com>2014-08-17 14:27:26 +0300
commita4206a91a314226bbff69094069e118bbd54bb65 (patch)
treea0e1500573c78c1639b9f3d217b4fc65dde57b3b
parent19bdf8d7581b9507ea863ce4c343457774bec62c (diff)
gant: fix support for firefox: doesn't support 01-01-2018 style dates (/ is supported by both chrome and firefox)
-rw-r--r--scripts/rhizicore.js2
1 files changed, 1 insertions, 1 deletions
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);
}