为什么这样的事件会在 9 日停止,而不会在日历上显示在 10 日?对我来说,这个事件包括 10 日。我相信它可以在日历的 1v 中找到,并在我升级到 2v 时发生变化。
{
allDay: true,
title: 'Long Event',
start: '2014-09-07',
end: '2014-09-10'
},
最佳答案
v1 和 v2 都将 endParam 视为表示最后一天的结束时间是唯一的。
endParam
A parameter of this name will be sent to each JSON event feed. It describes the exclusive end of the interval being fetched.
如果你看一下documentation for v1 :
endParam
The value of this GET parameter will be a UNIX timestamp denoting the end of the last visible day (exclusive).
关于FullCalendar 未正确显示全天事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25855333/