I am building a scheduling application, in Django, and I am working with the pytz package in python to aware DateTime objects.
If, for instance, I create a datetime object:
original = datetime.datetime(1900,6,6,10,40, tzinfo=pytz.timezone('US/Eastern'))
print(original)
I get:
1900-06-06 10:40:00-04:56
The UTCOffset is -04:56
. Is it possible to work with just hours so -5:00
?