bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
55 stars 6 forks source link

FinishDate badly calculated on negative Time zones (GMT -4) #10421

Open bmblb opened 2 days ago

bmblb commented 2 days ago

Forum post

Hello,

We continue with issues related with the negative Time zones, on the calculation of the FinishDate when changing the Duration (the same happens on the opposite). We thought this issue was fixed with the issue #9798 (Non-working intervals are calculated incorrectly in certain time zone), but it is still happens on the Bryntum Gantt 6.1.3.

In resume, for the same StartDate and the same Duration, the FinishDate it is different, on different Time zones. Attached to this Topic it is one video were is explained the situation and how to reproduce it on the Bryntum examples (Basic setup). Also attached are the files off the Bryntum examples changed to allow reproduce it.

Can you please take a look at it and solve it as soon as possible?

Thank you in advance. Regards

bmblb commented 2 days ago

After end date hits 2024-09-07 skipping to the next working time takes 10 days. Reason is that next few intervals are all non-working. DST occurs at midnight and after 2024-09-07T23:59:59 comes 2024-09-08T01:00:00

image

And it happens because intervals from sept 7 to sept 17 for some reason are non working, even working time as defined in calendar - 00:00-23:00 image