Hi,
According to documentation (https://www.bryntum.com/docs/gantt/api/Gantt/model/TaskModel#start-and-end-dates) the endDate is not included in the calculation of duration. So 2022-06-27 to 2022-06-27 has a duration of 0 days. If we set duration to 1 then the endDate changes to 2022-06-28 which is not acceptable. The task starts and ends on the same day.
This is what we want
2022-06-27 - 2022-06-27 = duration 1 day
2022-06-27 - 2022-06-29 = duration 3 days
How do we achieve this? We can certainly add an extra day to endDate runtime and keep the real endDate in the database. But we can't have a task that is scheduled for just one day (2022-06-27 - 2022-06-27) to be displayed as spanning two days (2022-06-27 - 2022-06-28) in the user interface.
What are our options ?
-- Thanks