From ddb56d7c7c01244f043a3eadab01c6d2dfefb3a0 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 6 Aug 2014 19:03:25 +0300 Subject: gant.js: use min date as left bound --- scripts/gant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gant.js') 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); -- cgit v1.3.1