FullCalendar 未正确显示全天事件

标签 fullcalendar

为什么这样的事件会在 9 日停止,而不会在日历上显示在 10 日?对我来说,这个事件包括 10 日。我相信它可以在日历的 1v 中找到,并在我升级到 2v 时发生变化。

{
    allDay: true,
    title: 'Long Event',
    start: '2014-09-07',
    end: '2014-09-10'
},

最佳答案

v1 和 v2 都将 endParam 视为表示最后一天的结束时间是唯一的。

根据documentation of v2据称

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/

相关文章:

jquery - fullCalendar UNIX 时间戳转换问题与选择事件

ios - 使用 Moment Tz 格式化日期

fullCalendar:9月之后显示额外的一周

javascript - 网络包 : Import CSS

python - 在 Django 中使用 fullCalendar

jquery - 如何使 Adam Shaw 的 FullCalendar 响应式

javascript - 如何使用 fullcalendar 在单元格中设置星期几和月份名称

javascript - 使用 Firebase 更新 FullCalendar 新事件

javascript - 如何(某种程度上)向 fullcalendar 的 renderEvents 处理程序添加代码?

php - 无法使用 json 事件提供完整日历