当我在Fullcalendar中选择日期时,日期将在午夜结束。如何更改默认的结束日期和时间?我希望它仅在所选日期的上午9:00结束。
var startDate =$.fullCalendar.moment(start).format('MM/DD/YYYY hh:mm a'); // Create a clone
start.stripTime(); // The time should already be stripped but lets do a sanity check.
start.time('08:00:00'); // Set a default start time.
start.hasTime();
var endDate = $.fullCalendar.moment(end).format('MM/DD/YYYY hh:mm a');
end.stripTime(); // The time should already be stripped but lets do a sanity check.
end.time('09:00:00');
end.hasTime();