- My locale is
en-GB
- My browser timezone is
Europe/London
- My MDC user timezone is set to
(GMT+00:00) Edinburgh
.
When I save a date in a date column, we get the following happening…
-
It is displayed as a
Europe/London
date “23 Jul, 12:00” -
It is accessible from graphQL as a
value
of{ "date": "2024-07-23", "time": "11:00:00", ... }
andtext
as2024-07-23 12:00
When I change my MDC user timezone to (GMT-09:00) Alaska
things start getting weird:
- It continues to be displayed as a
Europe/London
date “23 Jul, 12:00” though I’d expect “23 Jul, 03:00” - It is now accessible from graphQL as a
value
of{ "date": "2024-07-23", "time": "11:00:00", ... }
but with a differenttext
as2024-07-23 03:00
- Is this a bug or expected behaviour?
- Should the displayed date be based on the browser timezone, or the MDC user timezone?
- Also, when programmatically saving dates to date columns, should developers save the date in UTC+0 timezone and let MDC do the rest?
Cc: @Matias.Monday