Fullcalendar Displaying the end time of an event

主宰稳场 提交于 2019-11-26 21:29:01

问题


how do i display the end time of an even in fullcalendar? My event is triggered right, but there is no end time displayed This is an example event. Did i miss something?

title:'WM 2010 - 03.06.2010 - 00:00',
description: 'Bei uns ist jeden Tag WM Party',
start: new Date(2010, 5,  3, 00, 5),
end: new Date(2010, 6,  3, 23, 6),
allDay: true

回答1:


The appropriate solution in the most recent version of fullCalendar is to use displayEventEnd. This is because timeFormat afects more stuff. displayEventEnd allows us to even specify the views where we want the end time to be shown.

displayEventEnd: {
                    month: false,
                    basicWeek: true,
                    "default": true
                }


来源:https://stackoverflow.com/questions/3150371/fullcalendar-displaying-the-end-time-of-an-event

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