Events that know what time it is where you are
Post an event in your city. Anyone, anywhere, sees when it starts on your clock and on theirs, in their own language. No time zone maths, no "is that my 7 pm or yours?".
Try it
- Post an event in your own language.
- Switch language at the top: the event follows you.
- Book a seat 🎉
Your time zone
This page knows yours from your browser: .
Post it in your language
Write the title and description the way you'd say them. Readers see it as you wrote it, marked with the language it's in, so their browser and screen reader read it properly.
Write it as you'd say it
Use your own words and your own way of writing dates. Readers see your words as you wrote them.
Pick the event's city
Set the city where the event happens, not the one you're in now. Every time is worked out from it.
The language is saved too
Each event records the language it was written in, so a reader's browser and screen reader read it in that language, whatever language the page around it is in.
Every time, twice
Each event shows its start where it happens, again on your own clock, and how far off it is. Daylight saving is worked out for the date of the event, not for today.[1] Here is the night market in Bangkok, in your language and your time zone:
- The event's clock
- The time where the event happens: what's on the poster.
- Your clock
- The same moment where you are: when you need to leave home.
The event's clock comes first
The start is the time on the event's own clock. Yours is worked out from it, never the other way round.
Why both
Someone in another city needs both: the time on the poster, and the time on their own phone.
Saved once, shown in every language
What you post is saved as plain data, not as text in your language: the start on its city's clock with the city's time zone, the same moment in UTC, the number of seats. Each event's page shows it under Stored as. Switch language at the top: everything on the page changes, except that box.
| What | Saved as | Shown as |
|---|---|---|
| The start | 2027-03-06T18:30:00+07:00[Asia/Bangkok] |
In your language |
| The same in UTC | 2027-03-06T11:30:00Z |
Not shown; for sorting |
| Seats | 40 |
In your language's digits |
What an event looks like, saved
{
"id": "6f1c…",
"title": "Night market",
"starts_at": "2027-03-06T18:30:00+07:00[Asia/Bangkok]",
"starts_at_utc": "2027-03-06T11:30:00Z",
"seats": 40,
"locale": "th-TH"
}
Never save formatted text
Text such as "6 Mar, 6:30 pm" is only right in one language and one time zone. Save the data and format it for each reader:
const saved = start.toLocaleString("en-US");
const saved = start.toString();
const shown = start.toLocaleString(locale);
const sorted = start.toLocaleString();
const guessed = new Date(start.epochMilliseconds);
Some phones have no Temporal yet
Today's iPhones don't have Temporal built in, so the app brings its own there. The times are the same.
Moving an event to another city
Changing an event's time zone changes when it happens for everyone. Change the time with it.
Copy a code block with its button, or select it and press Ctrl + C.
Emailed in your language
Book a seat, and the confirmation comes in the language you booked in, with the start on the event's clock written your way. Each email goes to someone in their own language, whoever caused it:
| What happens | Who gets an email | In whose language |
|---|---|---|
| You book a seat | You | Yours, as you booked |
| You post an event | You, with its private link | Yours, as you posted |
| The day before it | Everyone booked | Each their own |
| The organiser cancels | Everyone booked | Each their own |
The language is saved with the booking, as the event's is with the event, and the email is written in it:
// In short, what src/events/emails.ts does for a booking:
const email = await inLocale(booking.locale, ({ locale, dir }) =>
fbs(["Your seat at ", fbs.param("event", booking.title)], "Booking email subject"),
);
The title stays as it was written
An event's title is in its organiser's language, so a Thai email can carry an Arabic title. It's marked with its own language there too, as on the event's page.
The Emails page shows two of them, in this page's language, and what it takes for each to arrive the right way round, right to left in Gmail included.
Your ticket comes with the confirmation as a PDF, in the same language, and you can download it from the event's page once you've booked. The PDFs page shows one, printed for this page's language, and how.
Formatted for you
Each value below is a <Fmt> island (src/docs/Fmt.tsx), so it's formatted for you, in
this page's language:
A number
Money
A time, on its place's clock
The same time, on yours
How far off it is
Languages, named in yours
Back to every time, twice, or see the upcoming events.
Bangkok has no daylight saving, but a city that does changes its clocks on a date of its own: the time shown for a day in July is worked out for July. ↩︎