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

后端 未结 13 1286
日久生厌
日久生厌 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:46

    If you are using fullCalendar v1, you should try adding these:

    $('#calendar').fullCalendar({
         [...]// some code,
    
         axisFormat: 'H:mm',
         timeFormat: {
              agenda: 'H:mm{ - H:mm}'
         }
    });
    

提交回复
热议问题