I didn’t configure the timezone so I guess this is the default one. Anyway the machine is running on GMT-3
It’s wierd cause I saw this problem only on Sundays… (but I didn’t teste exhaustively)
Another wierd thing: It looks I can define Sundays as ‘0’ or ‘7’, and depending the one I use (‘0’ or ‘7’) it changes this behavior too (but still with problems).
The examples I attached was using the standard definition, I mean ‘7’=Sunday
But I figure out I had two different problems, so I posted the first one into this thread viewtopic.php?f=6&t=32796
It’s related to Sundays on the month first day. They shift the other Sunday events.
I believe I figure out a work around but I still need some help from you in that thread.
The DST still an issue. I used the last version you sent me and I used the brazil_path.js
This Brazil_path was done for a older Scheduler version (believe 2.1). Do you thing it still updated and working? Or should it have some changes?
[code]scheduler.date.add=function(date,inc,mode){
var ndate=new Date(date.valueOf());
switch(mode){
case "day": ndate.setDate(ndate.getDate()+inc);
if (inc == 1 && ndate.getDate()==date.getDate()){ //Brasil
return this.add(ndate,2,"hour");
}
break;
case "week": ndate.setDate(ndate.getDate()+7*inc); break;
case "month": ndate.setMonth(ndate.getMonth()+inc); break;
case "year": ndate.setYear(ndate.getFullYear()+inc); break;
case "hour": ndate.setHours(ndate.getHours()+inc); break;
case "minute": ndate.setMinutes(ndate.getMinutes()+inc); break;
default:
return scheduler.date["add_"+mode](date,inc,mode);
}
return ndate;
};[/code]