My timezone is not UTC. When I get the date time with datetime.now()
I get the local time, but the tzinfo
field has the value none
.
I see the same result with python 2.7 and python 3.6.7.
I would expect to get a timezone info or a time offset value. Why is that ? Is there a way to get the time offset as needed for the ISO time format ?