I am trying to use the Hourly option, but I cannot reflect the changes.
I want to display several business hours
here is the code:
$('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, defaultDate: '2014-11-12', editable: true, eventLimit: true, // allow "more" link when too many events businessHours: [ { start: '10:00', // a start time (10am in this example) end: '12:00', // an end time (12pm in this example) dow: [ 1,2,3,4 ] // days of week. an array of zero-based day of week integers (0=Sunday) // (Monday-Thursday in this example) }, { start: '12:00', // a start time (12pm in this example) end: '18:00', // an end time (6pm in this example) dow: [ 1,2,3,4 ] // days of week. an array of zero-based day of week integers (0=Sunday) // (Monday-Thursday in this example) }] });
source share