Invalid start_date argument for getDuration method


#1

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.

Thanks

PS : We are using last version available (6.3.4)


#2

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:
https://snippet.dhtmlx.com/38ee1b370
Or send me an HTML file with all the necessary Javascript and CSS files.


#3

Hello,

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


#4

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


#5

Hello,

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.


#6

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