Merge pull request #79 from kevgliss/order
fixing an error where dates components were not replaced in logical o…
This commit is contained in:
commit
e2962a4b8d
|
@ -96,7 +96,7 @@ def convert_date_to_utc_time(date):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
d = arrow.get(date)
|
d = arrow.get(date)
|
||||||
return arrow.utcnow().replace(day=d.naive.day).replace(month=d.naive.month).replace(year=d.naive.year)\
|
return arrow.utcnow().replace(year=d.naive.year).replace(month=d.naive.month).replace(day=d.naive.day)\
|
||||||
.replace(microsecond=0)
|
.replace(microsecond=0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue