A Day Has Only 24±1 Hours a talk by Miroslav Šedivý
Saturday, 15 June, 12:30 in Ballroom
On the last Sunday of October you may get “one more hour of sleep” but as well may spend much more time debugging code dealing with the time zones, daylight saving time shifts and datetime stuff in general.
We'll look at a few pitfalls you may encounter when working with datetimes in Python. We'll dissect the
pytz module, explain why it contains over 500 individual time zones while focusing on the
Europe/Prague entry. We'll also find the reason why
pytz is not part of the standard Python, why it gets updated so often and why even that won't solve all your problems.
Two centuries of short-sighted propaganda and long-term chaos in thirty minutes. Maybe that will make you want to avoid time zones in your code altogether!
Born in the
Europe/Bratislava time zone, studied in the
Europe/Paris time zone, working in the
Europe/Berlin time zone.
At my job at solute GmbH, I'm using Python to get you the lowest prices online. In your time zone. I like to discuss the human stuff in the IT: how humans write in their languages, how they measure time and fiddle with time zones, and how they can teach the computers to do the boring stuff for them.