Fix typo in utils.py
Change-Id: I3722243a8cd31a16bfc60fda45acb7a9d0a0dc47
This commit is contained in:
parent
ca51d0d7ad
commit
fca65e9d44
@ -113,8 +113,8 @@ def decimal_to_dt(dec):
|
||||
|
||||
integer = int(dec)
|
||||
micro = (dec - decimal.Decimal(integer)) * decimal.Decimal(units.M)
|
||||
daittyme = datetime.datetime.utcfromtimestamp(integer)
|
||||
return daittyme.replace(microsecond=int(round(micro)))
|
||||
date_time = datetime.datetime.utcfromtimestamp(integer)
|
||||
return date_time.replace(microsecond=int(round(micro)))
|
||||
|
||||
|
||||
def hash_of_set(s):
|
||||
|
Loading…
x
Reference in New Issue
Block a user