Notice there is a bug when using astimezone() on utc time. This gives an incorrect result:

42

datetime.datetime.utcnow().astimezone().isoformat() #Incorrect result

Comments

Submit
0 Comments