datetime and timezone conversion with pytz – mind blowing behaviour
datetime and timezone conversion with pytz – mind blowing behaviour Question: I’m trying to convert timezone aware datetime object to UTC and then back to it’s original timezone. I have a following snippet t = datetime( 2013, 11, 22, hour=11, minute=0, tzinfo=pytz.timezone(‘Europe/Warsaw’) ) now in ipython: In [18]: t Out[18]: datetime.datetime( 2013, 11, 22, 11, …