From 95572b76dd3c4d99eb5ab0e13b27a22259fdc2ca Mon Sep 17 00:00:00 2001 From: j Date: Tue, 12 Apr 2022 14:10:51 +0100 Subject: [PATCH] typo --- app/event/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/event/models.py b/app/event/models.py index d85dfdf..67c11c0 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -46,7 +46,7 @@ class Event(models.Model): start.append(1) start_only_month = True start = [int(p) for p in start] - end = [int(p) for p in end]: + end = [int(p) for p in end] display_date = datetime(*start).strftime('%d %B, $y') if start_only_month: @@ -55,7 +55,7 @@ class Event(models.Model): end_date = datetime(*end).strftime('%d %B, $y') if end_only_month: end_date = ' '.join(end_date.split(' ')[1:]) - display_date += ' — '+ end_date + display_date += ' — ' + end_date return display_date def media_html(self):