Brazil timezone, during summer time shift, double days...

Good day!
I’m having this problem:[docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:known_issues]
Problem: timezone in case of Brazil, During summer time shift scheduler Can earn double days (so far, there was only few reports from users of Brazil-version of Windows, does not Appear problem for any other type of OS)
Symptom: double days in month view
Affected versions: all versions
Patch: support.dhtmlx.com/x-files/sched … _patch.zip
Patch need to be included on the page after other js files.
Since I downloaded the patch but do not know where to insert the script, ie:

Where I have put the script? ps. excuse me, I'm beginner Thank you! God bless you! Tullio

Hi.
You’re talking about dhtmlxScheduler plugin, isn’t it?
So you have to add it in file scheduler_include.html

Hi radyno!
Thank you for your help.
But scheduler_include.html page is empty. Already edited and there is no tag. I am using Wordpress 3.2.1. I hope you have the solution.
Again, thank you!

SOLVED radyno!

Even the empty file, it was just add the script tag.

Thank you so much!

God bless you!!!

Good night Guys,

I´m having the same problem like Tullio. The only one diference between us is the CMS, we used Joomla version 1.5.20.

When I add the script ( </ script>) in the file scheduler_include.html the calendar page, present this page blank.

I need change the permission on this file (brazil_patch.js)??

Any sugestions??

Best regards,

Eduardo

Does any JavaScript error occur?
Make sure that file was found or included file doesn’t contains any errors.
If still doesn’t work - could you provide link to scheduler?
Could you provide a little more details - after adding this line all page is broken? Or scheduler isn’t initialized?

Radyno,

No Javascript errors apears.

About the file brazil_patch.js follow the content:
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;
}
return ndate;
};

The scheduler is only available in or intranet network, I can´t provide access to outside users.

After adding this line:

.dhx_cal_event.sala_de_treinamento_0 div { background-color: #00ff00 !important; } .dhx_cal_event_line.sala_de_treinamento_0 { background-color: #00ff00 !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_0 { background-color: #00ff00 !important; background-image: none !important; } .dhx_cal_event.sala_de_treinamento_1 div { background-color: #00ffff !important; } .dhx_cal_event_line.sala_de_treinamento_1 { background-color: #00ffff !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_1 { background-color: #00ffff !important; background-image: none !important; } .dhx_cal_event.sala_de_treinamento_2 div { background-color: #ff00ff !important; } .dhx_cal_event_line.sala_de_treinamento_2 { background-color: #ff00ff !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_2 { background-color: #ff00ff !important; background-image: none !important; } .dhx_cal_event.sala_de_treinamento_3 div { background-color: #7f7fff !important; } .dhx_cal_event_line.sala_de_treinamento_3 { background-color: #7f7fff !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_3 { background-color: #7f7fff !important; background-image: none !important; } .dhx_cal_event.sala_de_treinamento_4 div { background-color: #ff7f00 !important; } .dhx_cal_event_line.sala_de_treinamento_4 { background-color: #ff7f00 !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_4 { background-color: #ff7f00 !important; background-image: none !important; } .dhx_cal_event.sala_de_treinamento_5 div { background-color: #ffff00 !important; } .dhx_cal_event_line.sala_de_treinamento_5 { background-color: #ffff00 !important; background-image: none !important; } .dhx_cal_event_clear.sala_de_treinamento_5 { background-color: #ffff00 !important; background-image: none !important; }
		<div id="scheduler_here" class="dhx_cal_container" style="width:680px; height:600px;">
			<div class="dhx_cal_navline">
				<div class="dhx_cal_prev_button">&nbsp;</div>
				<div class="dhx_cal_next_button">&nbsp;</div>
				<div class="dhx_cal_today_button"></div>
				<div class="dhx_cal_date"></div><div class="dhx_cal_tab" name="day_tab" style="right:84px;"></div><div class="dhx_cal_tab" name="month_tab" style="right:20px;"></div>
			</div>
		<div class="dhx_cal_header">
		</div>
		<div class="dhx_cal_data">
		</div>
		<div style="position:absolute; bottom:5px; right:20px; font: Tahoma 8pt; color:black;">
			Powered by <a href="http://dhtmlx.com" target="_blank" style="color:#444444;">dhtmlxScheduler</a>
		</div>
	</div>												</div>

Thanks for your help.

Eduardo

It looks correctly. Could you provide screenshot of scheduler page to show how it doesn’t work?