I am facing the same issue as this individual. I am unsure of how to add one day to the end date. I do not want to alter the database value, only modify it on the HTML page.
Currently, this is my calendar (no Moment.js joke intended):
$(document).ready(function () {
// The page is now ready, let's initialize the calendar...
var base_url = '{{ url('/') }}';
var $calendar = $('#calendar-holidays').fullCalendar({
header: {
left: '',
center: 'title',
right: ''
},
weekends: false,
editable: false,
eventLimit: true,
events: {
url: base_url + '/holidayapi',
error: function () {
alert("Cannot retrieve holidays from the database");
},
}
});