Locations, timezones and opening hours
Why a location exists


A booking is stored as an absolute instant, but everything a human says is a wall
clock: "Tuesday at nine". The thing that turns one into the other is the **location's
timezone**. If the clinic has one site, it never notices. The moment a second site opens
in another province, an appointment booked at "9:00" at each is *not* the same instant —
and a client in Nova Scotia must be told the time in the time they live in.
Settings → Locations holds one row per site, with:
- Name — shown on the schedule, the booking picker and the appointment page.
- Timezone — a real IANA zone (`America/Halifax`, `America/St_Johns`, …), read from
the list the server itself can resolve.
- Opens / Closes / days — the door hours *in that site's own wall clock*.
The practice's own timezone (Settings → Practice) is the default for anything not tied to
a specific site — a reminder text, a dashboard line.
What follows from it
| Thing | Follows |
|---|---|
| Booking form date/time | the location of the resource you picked |
| Phone agent's slot grid | the clinic's first open site, its hours, its zone |
| Times in SMS and email | the appointment's location zone |
| Scheduling list, appointment page | each row rendered in its own site's zone, with a Where column when there is more than one site |
Two rules exist because real calendars have holes:
- A time that never happened. When clocks jump forward, one hour is missing
(`02:30` on a spring-forward Sunday does not exist). The booking is refused with a
plain message rather than silently moved an hour.
- A time that happened twice. When clocks fall back, an ambiguous time resolves to
the earlier of the two instants, so the phone agent and the front desk can never
disagree about which one was meant.
Adding a site
Add the location. It gets the same starter resources a new practice gets — a *Vet Team*
and an *Exam Room 1* — so it is bookable immediately; rename them on the Team screen.
Until a location has a resource, nothing can be booked into it.
Closing a site
Locations are never deleted: appointments point at them. Use Close this location.
Existing bookings keep their times; new bookings and the phone grid stop offering it.
If a time looks wrong
Check the site first — the appointment page prints the zone next to the location name,
for example `Halifax Annex · America/Halifax`. A booking made there at 9:00 is a
different instant than one made at 9:00 at a Newfoundland site, and both are correct.