From 316563664063d006f725cc072b6e3dfa707c56b6 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Wed, 4 Sep 2019 21:09:18 +0200
Subject: [PATCH] Use weekday name in headings again.

---
 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 5e49f09d2..7dcf28c51 100644
--- a/biscuit/apps/alsijil/templates/alsijil/group_week.html
+++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html
@@ -27,7 +27,7 @@
             {{ group.name }}
           </div>
           <div class="card-body">
-            {% regroup lesson_periods by period.weekday as periods_by_day %}
+            {% regroup lesson_periods by period.get_weekday_display as periods_by_day %}
             {% for weekday, periods in periods_by_day %}
               <h3>{{ weekday }}</h3>
               <table class="table table-striped table-bordered table-hover table-responsive-xl">
-- 
GitLab