A system time zone, so every page and every phone agrees on what time it is.
Small one, but it matters out here.
The problem
Our servers are not always where our customers are. A system hosted on the mainland for an office in Hilo had its own idea of what "today" meant, and the dashboard's totals rolled over in the middle of the afternoon. An administrator checking the log from a laptop in another time zone saw a third set of times.
One zone
Kahevo now has a time zone of its own, set once. Everything follows it:
- when a day starts, for the dashboard's totals,
- the times shown on every page, whatever the computer you are sitting at thinks,
- the dates you type when searching a log,
- the day a blocked-caller rule expires,
- and the clocks on the desk phones.
Everyone looking at the same call sees the same time for it.
Business hours keep their own
Each business-hours schedule has a zone of its own, since an office and its branch may not share one. A new schedule starts with the system's.
Gentle with phones
A desk phone's clock is only set once a zone has actually been chosen. A system that has never been told its zone leaves the phones alone, so a clock someone set by hand is not changed by an update.
And daylight saving
Handled where it exists. No daylight saving in Hawaiʻi. One less thing.