August 2018
Intermediate to advanced
366 pages
10h 14m
English
You might have noticed that while this solution works, it lacks more advanced features. For example, I'm currently on UTC+01:00, but according to my country's Daylight Savings policy, I might be on UTC+02:00. Also, we only support offsets based on an integer hour, and while that's the most common case, there are time zones, such as India's or Iran's, that have a half-hour offset.
While we can extend our support for time zones to include these oddities, for more advanced cases you should probably rely on the pytz package, which ships time zones for the full IANA time zone database.