Showing only ONE week (Opening hours, each week the same)

风流意气都作罢 提交于 2019-12-06 04:44:51

If you use the "goToDate" method:

gotoDate

Moves the calendar to an arbitrary year/month/date.

.fullCalendar( 'gotoDate', year [, month, [ date ]] )

IMPORTANT: month is 0-based, meaning January=0, February=1, etc.

you could add your shop opening hours on the calendar for a given date, and then just show the date. However, you could also just add them for the current week being shown - this would then allow you to change times, for example, bank holidays etc. Have an array of special dates and print normally if not one of those dates...

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!