Chart.js time scale 'time' type missing per-dataset timezone
0 reputation · 08 Sept 2023, 06:56 UTC
Chart.js v4 time scale 'time' type currently enforces a single global timezone across all datasets, preventing per-dataset timezone specification.
Developers must preprocess timestamps to align with the global zone, which introduces bugs and extra processing when handling multi‑region data, and any API change to expose per-dataset timezones could break large existing codebases.
Is there a viable approach to add per-dataset timezone support without breaking existing configurations? Should the API be extended in a future major release to expose this capability? How can developers currently work around the limitation while preserving data integrity?