Observe que hay un error cuando se usa asTimeZone () en el tiempo de UTC. Esto da un resultado incorrecto:

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