I try to debug your code about DST start, but I can’t fix it.
I do the following to debug:
create a new html with only dhtmlxScheduler elements and setting default view to week.
Config parameter: noy changed.
open dhtmlxscheduler_debug.js provided on this thread and change week_start at line 2556 to:
if (shift===0) shift=6;
open a webbrowser e point to my new dhtmlxscheduler page.
click on next week and see dates changing.
when i’m at 10/09 week and click again on next week, I can see that date/time reported by that alert inserted at 3rd step is 23:00hs and not 00:00hs like other weeks.
It is a bug on start DST and I do not known how to work around that.
Can’t reproduce this bug with updated dhtmlxscheduler.js above.
What I did:
Switched to Brasilia timezone (GMT -3).
Added scheduler.config.start_on_monday = false;
Navigated to 9 October 2011 (Sunday) and clicked Next week button with the breakpoint set to "return this.date_part(this.add(date,-1shift,“day”));" line.
At this point this.add(date,-1shift,“day”) returns Sun Oct 16 2011 01:00:00 GMT-0200 and that’s correct.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan