diff options
| author | Alon Levy <alon@pobox.com> | 2014-08-06 19:03:25 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-08-17 13:52:10 +0300 |
| commit | ddb56d7c7c01244f043a3eadab01c6d2dfefb3a0 (patch) | |
| tree | ee115df2d9034b7776b1bcc9bb101b51909dd372 /scripts | |
| parent | 45368fbbc0c90daf28e40f028b5156bd6dbd6616 (diff) | |
gant.js: use min date as left bound
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/gant.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gant.js b/scripts/gant.js index 4b526f59..fb258014 100644 --- a/scripts/gant.js +++ b/scripts/gant.js @@ -86,7 +86,7 @@ function initAxis() { if (min > deliv.startdate) min = deliv.startdate; if (end < deliv.enddate) end = deliv.enddate; } - min = new Date(); ///with min + min = new Date(min); ///with min max = new Date(max); console.log("min "+min+" max "+max); |
