Ein2012
Ein2012

Reputation: 1103

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 achieve it?

Upvotes: 3

Views: 634

Answers (1)

Aniket Sahrawat
Aniket Sahrawat

Reputation: 12937

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

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

Upvotes: 3

Related Questions