英文:
Fullcalendar missing time on date-time for half of hours
问题
我使用以下选项运行FullCalendar:
defaultTimedEventDuration: '00:30',
slotDuration: '00:30:00',
events: '/admin/appointment_bookings/calendar.json',
minTime: "08:00:00",
maxTime: "24:00:00",
slotLabelFormat: ['HH:mm'],
timeFormat: 'HH:mm',
但是,我的日期时间只显示了一个小时,半小时没有显示。
我还想显示半小时(在红色标记处),我在浏览器上检查了数据时间已经是正确的,但是缺少了半小时的<span>
。有人能帮我吗?谢谢。
英文:
i run fullcalendar with this options
defaultTimedEventDuration: '00:30',
slotDuration: '00:30:00',
events: '/admin/appointment_bookings/calendar.json',
minTime: "08:00:00",
maxTime: "24:00:00",
slotLabelFormat: ['HH:mm'],
timeFormat: 'HH:mm' ,
but my date-time only showing for one hours,, the half of hours is not displaying
i want also to show for half of hours (on the red mark),, i inspect the browser on data-time is already correct,, but it's missing the <span> for half of hours
can anyone help me? thx
答案1
得分: 2
尝试使用 slotLabelInterval 选项,类似于 00:30
英文:
Try using slotLabelInterval option something like 00:30
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论