From 643298be73cf647c2b524191ef0c6e81e55d51c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?=
 <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de>
Date: Thu, 5 Nov 2020 01:04:05 +0100
Subject: [PATCH] Show current name of day in day views of scheduling

---
 AKScheduling/templates/admin/AKScheduling/scheduling.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/AKScheduling/templates/admin/AKScheduling/scheduling.html b/AKScheduling/templates/admin/AKScheduling/scheduling.html
index 8a2039bf..eb8a01a8 100644
--- a/AKScheduling/templates/admin/AKScheduling/scheduling.html
+++ b/AKScheduling/templates/admin/AKScheduling/scheduling.html
@@ -94,12 +94,14 @@
                         buttonText: '{% trans "Day (Horizontal)" %}',
                         slotDuration: '00:15',
                         scrollTime: '08:00',
+                        titleFormat: {weekday: 'long', day: 'numeric', month: 'numeric'},
                     },
                     resourceTimelineDayVert: {
                         type: 'resourceTimeGridDay',
                         buttonText: '{% trans "Day (Vertical)" %}',
                         slotDuration: '00:30',
                         scrollTime: '08:00',
+                        titleFormat: {weekday: 'long', day: 'numeric', month: 'numeric'},
                     },
                     resourceTimelineEventHoriz: {
                         type: 'resourceTimeline',
-- 
GitLab