Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def __parse_time(self, time):
if time.find(":") > 0:
return datetime.strptime(time, "%m.%d %H:%M").replace(year=today.year)
else:
return datetime.strptime(time, "%y.%m.%d").replace(year=today.year, hour=23, minute=59, second=59)
return datetime.strptime(time, "%y.%m.%d").replace(hour=23, minute=59, second=59)
elif len(time) <= 16:
if time.count(".") >= 2:
return datetime.strptime(time, "%Y.%m.%d %H:%M")
Expand Down