~/talk

The time paradox: Building Timezone-safe python/django applications.

Talkat DevWorld 2026 · 2026-05-07..05-08· [python, django]
slides:none on file

Root cause: UTC-stored timestamps plus per-user local‑time expectations and staggered DST rules cause missing Q1 revenue and mis-scheduled jobs. Tools and fixes: Python/Django with Postgres timestamp with time zone, JavaScript (suggested Luxon or date‑fns), and a middleware that uses cookie/header/user setting to call timezone.activate so DB reads convert to the user zone. Rules: store past events in UTC, store intent (local time + tz) for scheduling, test DST edges; the middleware solution works to align reports and schedules.

AI-written summary · about

  1. 0:00Time zone chaos
  2. 3:17What is a timestamp
  3. 6:55Time zones and their quirks
  4. 11:08Past events and future tasks
  5. 16:55Time zones in Python, JavaScript and databases
  6. 21:50Time zones in Django
  7. 26:08Three rules for safe time zones
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.