If tasks have time values for start/end date, the task editor removes time values when updating tasks regardless of modification of the dates.
And even worse, tasks have mismatching of dates and duration when it happens.
I think the task editor should keep time if dates are not changed.
It can be reproduced at https://bryntum.com/examples/gantt/advanced/.
Thank you for the report, I see the problem. Here is a link to track the status: https://github.com/bryntum/support/issues/4048
All the best,
Alex
We haven't started on the ticket yet but as a quick workaround you can try configuring task editor this way:
const gantt = new Gantt({
...
features : {
taskEdit : {
items : {
generalTab : {
items : {
startDate : {
format : 'YYYY-MM-DD HH:mm:ss',
keepTime : 'entered'
},
endDate : {
format : 'YYYY-MM-DD HH:mm:ss',
keepTime : 'entered'
}
}
},
advancedTab : {
items : {
constraintDateField : {
format : 'YYYY-MM-DD HH:mm:ss',
keepTime : 'entered'
}
}
}
}
},
The above code sets a time including format for start, end and constraint date fields and tells them to preserve the provided time portion of the dates.