Limits and errors

Time zone limits For agents

Xale works in the account's stored time zone, or UTC if there is none. Time block starts are epoch milliseconds; dates (YYYY-MM-DD) and clock times (HH:mm) are in that zone.

View as Markdown

Which zone

Every tool runs in the account's stored time zone. With none stored, or an invalid one, it's UTC. The person changes it in Xale.

When the person allows a connection, Xale saves their browser's zone, but only if the account has none yet; it never overwrites one.

Read it, don't assume it

xale_read_today returns today (a date) and timezone. Use them for "today" and "now", not your own clock or the zone your app runs in.

What you send

FieldFormEnforced
startAtUnix epoch milliseconds, 13 digits, resolved in the person's zoneYes: a plausible time between 2000 and 2100
DatesYYYY-MM-DDChecked on most fields. Send this form for every date, a Task's dueDate included.
TimesHH:mm, 24-hourChecked on Milestone times. Send this form for every time, a Task's dueTime included.

To place 9:30 on 4 December 2026 for someone in Europe/London (UTC+0 in December), send 1796376600000.

json
{ "blockType": "quickblock", "title": "Dentist", "startAt": 1796376600000, "durationMin": 45, "requestId": "plan-2026-12-04-dentist" }

If the times look wrong

The stored zone may differ from where the person is now. Tell them which zone Xale is using (from timezone), and let them change it in Xale.

  • Checked against main 8aef9b15

Was this helpful?

time-zone-limits-for-agents.md · main@c1725f34