From b37953bc902f07084886d5da37d5f543735429d4 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 30 Mar 2021 22:31:50 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=C5=A1patn=C3=A1=20prom=C4=9Bnn=C3=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templatetags/deadliny.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seminar/templatetags/deadliny.py b/seminar/templatetags/deadliny.py index 29ea5c79..18bfbf08 100644 --- a/seminar/templatetags/deadliny.py +++ b/seminar/templatetags/deadliny.py @@ -6,9 +6,9 @@ register = template.Library() def deadline_text(datum): typ, cislo, deadline = deadline(datum) strings = { - TypDeadline.PredDeadline: f"1. deadline čísla {cislo} ({datum})", - TypDeadline.SousDeadline: f"Soustřeďkový deadline čísla {cislo} ({datum})", - TypDeadline.FinalDeadline: f"Finální deadline čísla {cislo} ({datum})", + TypDeadline.PredDeadline: f"1. deadline čísla {cislo} ({deadline})", + TypDeadline.SousDeadline: f"Soustřeďkový deadline čísla {cislo} ({deadline})", + TypDeadline.FinalDeadline: f"Finální deadline čísla {cislo} ({deadline})", } return strings[typ]