Default date value are in server timezone
Context:
For example if a user change the Maintenance status from SCHEDULED
to IN_PROGRESS
wihtout specifying the start date, the backend server set it at datetime.now()
by default.
In the case of the user and the server having different timezones, the stored date missmatch.
For example if the user is in timezone Europe/Paris (UTC+2)
and the server in UTC
. If the user update the Maintenance at 18h (UTC+2), the value stored in database will be 16h.
Since the database doesn't store timezone, when the user request the Maintenance page, the displayed date will be 16h