diff --git a/uoftscrapers/scrapers/events/__init__.py b/uoftscrapers/scrapers/events/__init__.py index 0ee9e19..61cc510 100644 --- a/uoftscrapers/scrapers/events/__init__.py +++ b/uoftscrapers/scrapers/events/__init__.py @@ -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')