From 91d70b94f523a2d10277c51dafa2bc7f64c635af Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 1 Nov 2023 15:12:53 +0000 Subject: [PATCH] Show time on calendar in 24-hour format --- templates/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/index.html b/templates/index.html index 0fdaa17..e9497d4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,6 +36,11 @@ center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek' }, + eventTimeFormat: { + hour: '2-digit', + minute: '2-digit', + hour12: false, + }, events: {{ fullcalendar_events | tojson(indent=2) }} }) calendar.render()