diff --git a/app/event/models.py b/app/event/models.py index 38e9f80..d85dfdf 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -45,6 +45,8 @@ class Event(models.Model): while len(start) < 3: start.append(1) start_only_month = True + start = [int(p) for p in start] + end = [int(p) for p in end]: display_date = datetime(*start).strftime('%d %B, $y') if start_only_month: