Skip to content

Commit

Permalink
Clean up some more
Browse files Browse the repository at this point in the history
  • Loading branch information
kashav committed Apr 28, 2016
1 parent fde30b6 commit 6a7c675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uoftscrapers/scrapers/events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_event_doc(url_tail, event_date):

if start_date.count(' ') == 1:
# year not in start date
start_date = '%s %s' % (start_date, end_date.split(' ')[2])
start_date = '%s %s' % (start_date, end_date[-4:])

start_date = datetime.strptime(start_date, '%b %d %Y')
end_date = datetime.strptime(end_date, '%b %d %Y')
Expand Down

0 comments on commit 6a7c675

Please sign in to comment.