Set the timezone per machine, sintra to Europe/Paris #109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/sintra-timezone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every machine inherited
America/Guatemalafrom the shared base config, which is right for douro and tejo and wrong for sintra in France. It read six hours behind, so its journal timestamps had to be converted by hand against anything on the relay.The clock is not cosmetic here.
system.autoUpgrade'sdates = "04:00"is local time, so the zone decides when the nightly rebuild restarts the app and the Fujitsu dispenser runs its audible init routine. On sintra that was firing at 10:17 in the morning, in the room, rather than at 4am.timeZoneForModelmirrorsfiatCodeForModeland lists only the exceptions. The base config keepsAmerica/Guatemalaas the fleet default, now undermkDefaultso a per-model value wins withoutmkForce.Verified by eval rather than by reading the diff:
batm3 is deliberately left alone. It is USD and in the field, and I do not know where it is.
Deploy note: this only takes effect on sintra's next rebuild, and the upgrade that applies it still runs on the old zone. So the first 04:00 CEST upgrade is the night after.
Superseded by #111, which solves this more narrowly.
Setting the system timezone turned out to be the wrong lever. Its two consumers here are the upgrade window, which #111 handles directly with a timezone suffix on the calendar spec, and the operator wanting correct transaction times, which never needed the machine at all since the dashboard renders in the reader's own browser locale. That leaves only a technician reading the journal at the machine, and for correlating against relay
created_atstamps UTC is easier anyway.Closing in favour of #111. The fleet clock stays untouched.
Pull request closed