fullcalendar调度程序columnFormat和slotLabelFormat

Gus*_*mar 4 scheduler fullcalendar

我正在使用fullcalendar调度程序并尝试将时间轴上的timeformat设置为24:00格式,而不是在12am或pm格式.默认时间轴视图的格式为12 am/pm,而当天的时间线上有一行额外的行http://fullcalendar.io/scheduler/.我认为columnformat可能是关键所在.但不幸的是,当我使用slotLabelFormat:'H:mm'来使时间线显示为24:00格式时,显示日期的列在3天视图中消失.这是一个错误还是我做错了什么?

Gus*_*mar 5

这是它正常工作的方式:

           views: {
            timelineThreeDays: {
                type: 'timeline',
                slotLabelFormat: [
                'ddd D/M',
                'H:mm'
                ],
                columnFormat: 'ddd D.M',
                duration: { days: 3 }
            }               
        },
Run Code Online (Sandbox Code Playgroud)