Show time on calendar in 24-hour format

This commit is contained in:
Edward Betts 2023-11-01 15:12:53 +00:00
parent 1acb555f14
commit 91d70b94f5

View file

@ -36,6 +36,11 @@
center: 'title', center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek' right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
}, },
eventTimeFormat: {
hour: '2-digit',
minute: '2-digit',
hour12: false,
},
events: {{ fullcalendar_events | tojson(indent=2) }} events: {{ fullcalendar_events | tojson(indent=2) }}
}) })
calendar.render() calendar.render()