diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html
index 7dcf28c51fbd35cb3037a4e58bd8e8a72446e89b..420613d630117e7628604dc2a1b7285f415d4099 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