Closed mlew closed 9 years ago
Delorean should know if two times are UTC equal. The following code will return False:
>>> d1 = Delorean(datetime(2015, 1, 1), timezone='US/Pacific') >>> d2 = Delorean(datetime(2015, 1, 1, 8), timezone='UTC') >>> d1 == d2 False
The two times are actually equivalent, so it seems like the above code should return True. Maybe this is working as intended, but I was unable to find any documentation supporting that decision.
Will close issue once corresponding documentation comes in. :+1:
Delorean should know if two times are UTC equal. The following code will return False:
The two times are actually equivalent, so it seems like the above code should return True. Maybe this is working as intended, but I was unable to find any documentation supporting that decision.