Managing Time like a Time Lord: It's bigger on the inside
summary
Claims that UTC storage and localized presentation solve most issues, backed by concrete examples: 37 active time zones, 15/30/45 minute offsets, DST oddities like the Navajo Nation and a short-lived North Korea shift. Demonstrations use Python tools: pytz for zones, dateutil for relativedelta, freezegun to freeze time in tests. Reproducible failures include acceptance tests that fail nightly between 8pm–midnight from unspecified timezone handling, and gotchas with datetime.replace versus normalize, calendar.monthrange, and datetime resolution.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:44Managing time in Python
- 1:49Why time management matters
- 3:55Time zone challenges
- 6:03Best practices for time handling
- 7:51Testing time-sensitive systems
- 8:34Python time tools
- 9:42Live datetime demo
- 13:58Time zone pitfalls in Python
- 17:11Summary & Q&A
related talks
26mHandling Timezones in Python
41mimport time_travel: A Primer on Timezones in Python
30mWorking with Time Zones: Everything You Wish You Didn't Need to Know
28mTime Zones in Python: Everything You Wish You Didn't Need
27mThe time paradox: Building Timezone-safe python/django applications.
32mIt's about time
26mIt's about time
09mA Day Has Only 24±1 Hours
