Merge pull request #79 from kevgliss/order

fixing an error where dates components were not replaced in logical o…
This commit is contained in:
kevgliss 2015-09-16 11:14:47 -07:00
commit e2962a4b8d
1 changed files with 1 additions and 1 deletions

View File

@ -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)