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
53 stars 6 forks source link

Loading a task record with configured timezone jumps when scheduler also has the same timezone #9997

Open ghulamghousdev opened 2 weeks ago

ghulamghousdev commented 2 weeks ago

Forum post

When I set the time zone to "America/Chicago" and I reload my events with loadInlineData multiple times then all events move to the future.

I have created an repo to demonstrate the problem: https://github.com/JaegerJens/PRDSP-3286

When setting a timezone on the task in dataset, it jumps to couple of hours (I think to adjust to the timezone), But when we remove this from the task, and the task tends to use the timezone configured on projectModel, the task does not jump.

 {
          id: 1,
          name: "Ventilation",
          startDate: "2020-12-01",
          duration: 1,
          durationUnit: "d",
          timeZone: "Europe/London",
        },

When the scheduler and task record has the same timezone it shouldn't jump.

https://github.com/user-attachments/assets/dcebc902-100e-4c40-ae6c-f4a4fb78b6e9