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

A timeZone configured scheduler should recognize time zone information from string date values #8516

Open JockeLindberg opened 9 months ago

JockeLindberg commented 9 months ago

For example, setting startDate to '2024-02-09T10:00:00Z' will today, on a Scheduler configured with timeZone=0 (UTC) on a client with time zone +60 will result in startDate = '2024-02-09T11:00:00'. It should be 2024-02-09T10:00:00.

Reason for the current behaviour is that there is no time zone logic applied when setting a string date, just simple parsing into the local time zone.

Will probably need to override the setters for start- and enddates and apply some logic.

Forum post

ghulamghousdev commented 5 months ago

+1 here