From 8e8651a0e1360abbf754509a823fe960c333982c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Poffo?= Date: Wed, 6 Feb 2019 17:12:05 -0200 Subject: [PATCH] Comments --- src/diagrams/gantt/ganttDb.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/diagrams/gantt/ganttDb.js b/src/diagrams/gantt/ganttDb.js index 84b2837b5..d74eaf599 100644 --- a/src/diagrams/gantt/ganttDb.js +++ b/src/diagrams/gantt/ganttDb.js @@ -92,10 +92,8 @@ const getStartDate = function (prevTime, dateFormat, excludes, str) { if (typeof task === 'undefined') { const dt = new Date() dt.setHours(0, 0, 0, 0) - // return getNextValidDate(dt, dateFormat, excludes) return dt } - // return getNextValidDate(task.endTime, dateFormat, excludes) return task.endTime } @@ -118,7 +116,6 @@ const getEndDate = function (prevTime, dateFormat, excludes, str) { // Check for actual date let mDate = moment(str, dateFormat.trim(), true) if (mDate.isValid()) { - // return getNextValidDate(mDate, dateFormat, excludes) return mDate.toDate() }