From 546fbd57757dadfbadc1da6c2fec45a14d2fc7af Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 4 Sep 2019 21:11:36 +0200 Subject: [PATCH] Use weekday number in date calculation. --- biscuit/apps/alsijil/templates/alsijil/group_week.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html index 7dcf28c51..420613d63 100644 --- a/biscuit/apps/alsijil/templates/alsijil/group_week.html +++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html @@ -44,7 +44,7 @@ {% if period.has_documentation %} table-success {% else %} - {% weekday_to_date week weekday as current_date %} + {% weekday_to_date week period.period.weekday as current_date %} {% today as today %} {% if current_date < today %} table-danger -- GitLab