dt = "2021-06-10T10:56:58.189+0200"
is my timestamp, which i want to convert into a datetime representation. I use following code to do this:
d = dateutil.parser.parse(dt)
But my output looks like this:
2021-06-10 10:56:58.189000+02:00
Not much has changed. How can I include the information about the timezone in my newly created datetime object. I tried out a few more things from the documentation but can not work it out on my own..
Thanks in advance.