diff --git a/edit-mode/function/ganttSettings.js b/edit-mode/function/ganttSettings.js index 5104100..84517c8 100644 --- a/edit-mode/function/ganttSettings.js +++ b/edit-mode/function/ganttSettings.js @@ -221,14 +221,14 @@ async function initGanttSettings() { gantt.setWorkTime({ day: dayoff[i], hours: false }); } } - for (let index = 1; index <= 7; index++) { - const dateToCheck = new Date(2023, 4, index); // Note: Month is 0-based, so 5 represents June - if (gantt.isWorkTime({ date: dateToCheck, hours: false })) { - console.log(dateToCheck.toString() + ' is work time.'); - } else { - console.log(dateToCheck.toString() + ' is not work time.'); - } - } + // for (let index = 1; index <= 7; index++) { + // const dateToCheck = new Date(2023, 4, index); // Note: Month is 0-based, so 5 represents June + // if (gantt.isWorkTime({ date: dateToCheck, hours: false })) { + // console.log(dateToCheck.toString() + ' is work time.'); + // } else { + // console.log(dateToCheck.toString() + ' is not work time.'); + // } + // } } }