Jump to content

UniCalendarPanel change time limit


JulioPaladino

Recommended Posts

Hello

 

I wonder if there is any time in UniCalendarPanel.

When opening a day flap, it does from 8:00 AM to 7:00 PM, how do I change the beginning and end of the day with other times?

type: beginning 06:00 AM and ending at 10:00 PM

 

Translation: Google translator

Link to comment
Share on other sites

Hello,

 

One possible solution I think:

function beforeInit(sender, config)
{
    config.views = {
        day: {
            startTime: 6,
            endTime: 22
        },
        week: {
            startTime: 6,
            endTime: 22
        }
    }
}
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...