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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...