Hello,
My mini calendar start à june 1936 when i open it. How to make it open at the current month/year ?
thanks
Hello,
My mini calendar start à june 1936 when i open it. How to make it open at the current month/year ?
thanks
I forgot to ask about the time step. When i’m dragging an event, the step is 5 minutes. Is it possible to make it step for 30 mins ?
thanks
Hello,
It does not seem to happen in our demos, so the issue must have something to do with your code. Please provide some kind of demo so we could check the issue.
Yes, please check this config
docs.dhtmlx.com/scheduler/api__s … onfig.html
Thanks for the time_step.
Here is my code jsfiddle.net/fulkenely/ap26oud4/
I don’t know what could be wrong
I know where is my problem. I’m using a js function to load the calendar at the curent date “new Date().toJSON().slice(0,10)”, and its messing with my mini calendar. Do you have another way to load the calendar at the current date ? Instead of “scheduler.init(‘scheduler_here’,new Date(2015,0,10),“week”);”
Hello,
the default Date constructor creates date on a current date, so no additional processing should be required:
scheduler.init('scheduler_here', new Date(), "week");
developer.mozilla.org/en/docs/W … jects/Date
If you want it to use only the date part of the current (i.e. to drop the current hours-minutes and set it to the start of the day) you can use either native date.setHours, date.setMinutes methods or a scheduler date helper:
scheduler.init('scheduler_here', scheduler.date.day_start(new Date()), "week");
docs.dhtmlx.com/scheduler/api__s … other.html
Thanks this is perferct
And happy new year to you