Ein2012 Ein2012 - 18 days ago 11
jQuery Question

Full calendar restrict agenda week view with start and end time

I'm using fullcalendar plugin. I've a requirement to display fixed timings in agenda week and agenda day view . i.e i have to display (06 AM to 06 PM) only. I have not found any configuration options to do so.How can i achive it.

Answer

What you are looking for is minTime and maxTime. Eg Below:

$('#calendar').fullCalendar({
    minTime: "06:00:00",
    maxTime: "18:00:00"
});
Comments