unexpected results converting timezones in python
What I got is just a workaround, the simple rule is Never create datetime with timezone info by using datetime(). This sample would give you a hint for this. As you see, you could avoid the unexpected difference, once and only you make “naive” datetime (it is, datetime without timezone info) and then localize it … Read more