From 51c70c1746660ceacd5578426a7e9ab42e18df78 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sat, 31 Jul 2021 20:25:25 -0700 Subject: [PATCH] Fix linting issue --- core/templatetags/datetime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/templatetags/datetime.py b/core/templatetags/datetime.py index a717747c..9133f0aa 100644 --- a/core/templatetags/datetime.py +++ b/core/templatetags/datetime.py @@ -36,7 +36,8 @@ def datetime_short(date): date_string = _('Today') time_string = formats.date_format(date, format='TIME_FORMAT') elif now.year == date.year: - date_string = formats.date_format(date, format='SHORT_MONTH_DAY_FORMAT') + date_string = formats.date_format(date, + format='SHORT_MONTH_DAY_FORMAT') time_string = formats.date_format(date, format='TIME_FORMAT') else: date_string = formats.date_format(date, format='SHORT_DATETIME_FORMAT')