Invalid start_date argument for getDuration method


We get an issue only using Internet Explorer 11 with startDate or endDate equal to “0001-01-01T00:00:00”.

Can you fix this please.


PS : We are using last version available (6.3.4)


Hello Dominique,
I don’t get any issues when I try to use that method in Internet Explorer:

Probably, the issue is related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code. Please, reproduce the issue in the snippet, then click on the “Share” button and send me the link:
Or send me an HTML file with all the necessary Javascript and CSS files.



I think you missed the important point, the date should be “0001-01-01T00:00:00” !


Hello Dominique,
Thank you for the clarification, but I still cannot reproduce the issue:



I have the same error but not everywhere.
Dates are the same on the DB and on the Gantt chart (01 march 2020).
It happens when I drag the task or when I drag the progress bar or when I save a task.
When it bugs, it seems like the div is always in drag mode, the cursor is still moving with the mouse
The backend give me a date like ‘DD/MM/YYYY’, I change it with new Date(Moment(myDate,“DD/MM/YYYY”).format())
It work on the first lines but not for other ones added later even the ones add by drag and drop from another vue component.


I finally found out where the problem came from, it was the constraint_date that was loaded with ‘null’ value.