Python pytz, zoneinfo and daylight savings time

I am currently attempting to migrate a code base from using pytz to using Python’s zoneinfo library. I’ve run into an issue with how zoneinfo handles daylight saving time transitions when compared to how pytz handles them. Suppose I have a naive datetime object: >>> import datetime >>> start = datetime.datetime(2021, 10, 30, 23, 0)… Read More Python pytz, zoneinfo and daylight savings time