-1
當我在Fullcalendar中選擇日期時,日期在午夜結束。我如何更改默認的結束日期和時間?我希望它只在選定日期的上午9點結束。選擇結束日期
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();