24 hour time format (so no AM to PM) for fullCalendar

后端 未结 13 1292
日久生厌
日久生厌 2020-12-25 12:09

I\'m trying to display the 24 hour time format in fullCalendar, I\'m trying to use these instructions: http://arshaw.com/fullcalendar/docs/text/timeFormat/

So I\'ve

13条回答
  •  不思量自难忘°
    2020-12-25 13:00

    The most upvoted answer works for older versions. For newer versions add another variable in SetDefaults:

    slotLabelFormat:'H(:mm)',
    

    This should work for newer versions (2018), like FullCalendar v3.9.0

提交回复
热议问题