Xale's model Days

Time zones How Xale handles them

Every call runs in the person's stored time zone. Dates and clock times are local to it; time block starts are epoch milliseconds, an instant.

View as Markdown

Which zone

Every read and write runs in the time zone saved on the person's account. xale_read_today returns it as timezone, and xale_read_schedule as range.timezone.

CaseZone used
The account has a zone savedThat zone
None savedUTC
The saved name isn't a real zoneUTC

When the person chooses Allow to connect an app, Xale saves their browser's zone if the account has none. It never overwrites a zone that's saved.

Formats

ValueFormatMeaning
startAt on time blocksEpoch milliseconds, 13 digits, between 2000 and 2100An instant
date, dueDate, startDate, endDateYYYY-MM-DDA day in the person's zone
startTime, endTime, dueTimeHH:mm, 24-hourA clock time in the person's zone

A start in seconds is refused: “Send the start in epoch milliseconds (13 digits), not seconds.” A start outside 2000 to 2100 is refused too.

Working out a start

To put a block at 09:00 on 4 December 2026 for someone in Europe/Lisbon, convert that local time in that zone to epoch milliseconds: 1796374800000. Don't use your own zone, or the server's.

Changing the zone

If the person is travelling, plan in their saved zone and say so, or ask them to change it in Xale. See Time zone limits · for agents.

  • Checked against main 8aef9b15

Was this helpful?

time-zones-how-xale-handles-them.md · main@c1725f34