This commit is contained in:
j 2022-04-12 14:10:29 +01:00
parent d40832aacc
commit a1e09a37f8

View file

@ -45,6 +45,8 @@ class Event(models.Model):
while len(start) < 3: while len(start) < 3:
start.append(1) start.append(1)
start_only_month = True 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') display_date = datetime(*start).strftime('%d %B, $y')
if start_only_month: if start_only_month: