Though orchestrator-core stores all timestamps in UTC, the GUI currently displays the time in CET (Europe/Amsterdam) timezone. This value is hard-coded into the render function for timestamp cells.
The aim of this PR is to add the ability for an org to configure their desired timezone from the backend file, to remove the hard-coded "en-GB" locale string (passing in as an environment variable), and to use moment-timezone to convert timestamps to a proper time string.
In future, it would be nice to make the displayed timezone configurable via settings options per-user/client/browser in the web interface.
Though orchestrator-core stores all timestamps in UTC, the GUI currently displays the time in CET (Europe/Amsterdam) timezone. This value is hard-coded into the render function for timestamp cells.
The aim of this PR is to add the ability for an org to configure their desired timezone from the backend file, to remove the hard-coded
"en-GB"
locale string (passing in as an environment variable), and to usemoment-timezone
to convert timestamps to a proper time string.In future, it would be nice to make the displayed timezone configurable via settings options per-user/client/browser in the web interface.