Gantt APIPropertieswork_timeOn this pagework_time Description Enables calculating the duration of tasks in working time instead of calendar time work_time: booleanExample//calculates duration in working hours and hides non-working time from the chartgantt.config.duration_unit = "hour";gantt.config.work_time = true;gantt.init("gantt_here");Default value: falseRelated samples Duration includes only working days Calculate working hours Related API correct_work_time skip_off_time Related Guides Work Time Calculation