diff --git a/edit-mode/function/ganttEvent.js b/edit-mode/function/ganttEvent.js index d334658..6572b34 100644 --- a/edit-mode/function/ganttEvent.js +++ b/edit-mode/function/ganttEvent.js @@ -53,7 +53,6 @@ gantt.attachEvent("onBeforeTaskUpdate", function(id,new_item){ } progress = progress/100; new_item['progress'] = progress; - new_item['start_date'].setHours(0,0,0); new_item['end_date'].setHours(23,59,59); let newDuration = gantt.calculateDuration({ start_date: new_item['start_date'],