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

后端 未结 13 1311
日久生厌
日久生厌 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 12:39

    With v.4 something like this was necessary for me to achieve 24-hours format:

    slotLabelFormat: {hour: 'numeric', minute: '2-digit', hour12: false}
    

提交回复
热议问题