Consider the following python snippet:
import datetime
import pytz
iniTS = datetime.datetime.strptime('08:00:00-00:00', '%H:%M:%S%z')
print("America/Bogotá offset: ", datetime.datetime.now(pytz.timezone('America/Bogota')).strftime('%z'))
print("Original Hour: ", iniTS)
print("Adjusted Hour: ", iniTS.astimezone(pytz.timezone('America/Bogota')))
I am getting this result:
America/Bogotá offset: -0500
Original Hour: 1900-01-01 08:00:00+00:00
Adjusted Hour: 1900-01-01 03:04:00-04:56
I cannot figure out why am I receiving an offset of -04:56 instead of -05:00.
If someone can give me a light, I will really appreciate that.