开发者

Fullcalendar Displaying the end time of an event

开发者 https://www.devze.com 2023-01-05 01:56 出处:网络
how do i display the end time of an even in fullcalendar? My event is triggered right, but there is no end time displayed

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
开发者_开发知识库


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
                }
0

精彩评论

暂无评论...
验证码 换一张
取 消