diff options
| author | Alon Levy <alon@pobox.com> | 2014-08-17 14:27:26 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-08-17 14:27:26 +0300 |
| commit | a4206a91a314226bbff69094069e118bbd54bb65 (patch) | |
| tree | a0e1500573c78c1639b9f3d217b4fc65dde57b3b /scripts | |
| parent | 19bdf8d7581b9507ea863ce4c343457774bec62c (diff) | |
gant: fix support for firefox: doesn't support 01-01-2018 style dates (/ is supported by both chrome and firefox)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rhizicore.js | 2 |
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); } |
