A Day Has Only 24±1 Hours
summary
Calling datetime.datetime.now without a timezone yields different local datetimes on different machines; ask for UTC or pass an explicit tz to get consistent moments. Use the IANA tz database (the archive files the talk shows, labeled by continent) rather than hard‑coding rules, because there are 440 time zones, Indiana alone had 300+ region shifts, and the database contains updates through 2038. Keep timezone libs current and prefer system/packaged zone support over custom logic.
AI-written summary · about
related talks
26mHandling Timezones in Python
18mManaging Time like a Time Lord: It's bigger on the inside
30mWorking with Time Zones: Everything You Wish You Didn't Need to Know
28mTime Zones in Python: Everything You Wish You Didn't Need
41mimport time_travel: A Primer on Timezones in Python
32mIt's about time
27mThe time paradox: Building Timezone-safe python/django applications.
26mIt's about time
