Skip to content

Commit

Permalink
Merge pull request #8 from Guovin/dev
Browse files Browse the repository at this point in the history
fix:date match
  • Loading branch information
Guovin authored Mar 13, 2024
2 parents 67db772 + 116d2a1 commit db3d1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def filterByDate(self, data):
recent_data = []
for (url, date, resolution), response_time in data:
if date:
date = datetime.datetime.strptime(date, "%d-%m-%Y")
date = datetime.datetime.strptime(date, "%m-%d-%Y")
if date >= start_date:
recent_data.append(((url, date, resolution), response_time))
return recent_data
Expand Down

0 comments on commit db3d1a5

Please sign in to comment.