mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[scheduler] Timezone Issue 7: Add timezone field to the event model

Open rita-codes opened this issue 1 month ago • 0 comments

Current behavior:

  • We accept TemporalSupportedObject as start/end values
  • Those objects may not contain timezone info (e.g. 2025-03-05T12:00:00)
  • When DST or cross-timezone rendering happens, we cannot know the original timezone

Solution:

  • Add an explicit timezone field to SchedulerEvent
  • This gives the engine a reliable data timezone

Benefits:

Date value Has TZ info? Event timezone provided? Result
"2025-03-14T02:00:00Z" :heavy_check_mark: optional Treated as UTC → converted to the event timezone
"2025-03-14T02:00:00-05:00" :heavy_check_mark: optional Treated as UTC-5 → normalized to the event timezone
"2025-03-14T02:00:00" :x: :heavy_check_mark: Interpreted as 02:00 in the event’s timezone
"2025-03-14T02:00:00" :x: :x: Interpret as 02:00 in the adapter’s default timezone

rita-codes avatar Dec 08 '25 16:12 rita-codes