Day duration bug

Hi,
I’ve some trouble with a task which has a duration of 2 hours (0.08 day). With the previous version of the gantt it display very well, with the new version, even if the duration is 0.08 in the json structure, it display a task with a duration of 1 day.

Here is my demo:
Task_duration.7z (50.7 KB)

Is there new parameters in the last release which I forget to initialize ?

Hello,
duration of the task must be an integer, not a decimal number (probably it was working before due to some details of implementation, which has been changed).
You can configure gantt in order to use hours for duration, and store durations as integers gantt.config.duration_unit = "hour";
docs.dhtmlx.com/gantt/api__gantt … onfig.html