We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

A Day Has Only 24±1 Hours

Formale Metadaten

Titel
A Day Has Only 24±1 Hours
Untertitel
One Europe, 63 time zones to take care of.
Serientitel
Anzahl der Teile
118
Autor
Lizenz
CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
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 library, explain why it contains over 500 individual time zones while focusing on the 63 entries in Europe. 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. Do you know what happens after 2021 when the EU stops DST switching? Two centuries of short-sighted propaganda and long-term chaos in forty-five minutes. Maybe that will make you want to avoid time zones in your code altogether!
Schlagwörter