In plain words
A moment in time is best stored in UTC, the world's reference clock, and only turned into local time when it's shown to a person.
Where you see it
A Guildhall event at 8 pm in London shows as 3 pm for a member in New York, which is right. A birthday saved as 5 December shows as 4 December for that same member, which is wrong. Both come from the same step: turning UTC into local time.
What goes wrong
- Storing a moment without its time zone
A Postgres timestamp column without time zone drops the offset, so nobody can tell whose 8 pm it was. Use timestamptz for moments in time.
- Birthdays that move by a day
A birthday is a calendar date, not a moment. Store it in a date column and display it without converting, or it slips a day for anyone west of UTC.
- Server and browser disagree about today
Vercel's servers run on UTC while your visitors don't, so "today" can differ for hours. In Next.js this often shows up as a hydration warning.
What to tell your agent
Quick check
Sign in to earn +10 XP for itMembers west of London see every Guildhall birthday one day early. Most likely cause?