Set start/end time for Full Calendar

Hey All,

I would like to customize the way the calendar is currently displayed. I have looked through quite a lot but couldn’t figure out where to set the start time and end time of the calendar like this:

minTime: '07:30:00', // Start time for the calendar
maxTime: '22:00:00', // End time for the calendar

If I remember you have to:

  • Tick Business Hours in the Calendar options.
  • Then click Use Constraint and select Business Hours.
  • Then under Dynamic Attributes select Business Hours
  • Enter your Business Hours.

Think that is how to do it?

I tried it but not working the way I expected it.

The business hours emphasizes certain time slots on the calendar, like this https://fullcalendar.io/docs/businessHours-demo

I found it under the settings for the time week view under view specific options:

views-options:time-grid-week="{minTime:'07:00:00',maxTime:'22:00:00',timeGridEventMinHeight:'400px',slotDuration:'00:05:00'}"