Fullcalendar未显示15分钟插槽的轴时间 [英] Fullcalendar not showing axis times for 15 min slots
问题描述
我将我的全日历设置为15分钟,但是没有显示分钟突破.
I set my fullcalendar to have 15 minute slots, however it is not showing the minute breakouts.
例如,它将显示9 am、10am、11am等,但不显示9 am、9:15am、9:30am等.
For example, it will show 9am, 10am, 11am, etc. but not 9am, 9:15am, 9:30am, etc.
它显示了其他时段的分钟突破,例如10分钟,但我无法在15分钟内正常工作.
It shows the minute breakouts for other slots like 10 minutes, but I can't get it to work for 15.
I've looked around and saw this post: How to show all text on the axis for each minute slots rather than just 6am, 7am etc
但是我无法在用户提出的解决方案中找到用户所指的功能.也许脚本从那时起就被更新了.
but I can't find the function that user is referring to in his proposed resolution. Perhaps the script was updated since then.
有人知道我如何获得分钟的休息时间显示吗?
Does anyone know how I can get the minute breakouts to show?
推荐答案
我知道已经很长时间了,但是对于有相同问题的任何人,您都可以尝试使用:
I know it has been a long time but for anyone who has the same problem you can try using:
slotDuration: '00:15:00',
slotLabelInterval: 15,
slotLabelFormat: 'h(:mm)a',
在全日历v2中
这篇关于Fullcalendar未显示15分钟插槽的轴时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!