Show time on calendar in 24-hour format
This commit is contained in:
parent
1acb555f14
commit
91d70b94f5
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue