Callback Calendar
Posted:
Tue Oct 30, 2007 4:20 pm
by umop3plsdn
Anyone know a reason why all 4 of my dialers have Nov 4th listed twice when agents try to schedule a callback? It is skewing everything in the future by 1 day.
Posted:
Tue Oct 30, 2007 4:42 pm
by rajeevpn
One thing I can think of is the change in Daylight Saving from this year - probably messing up the date arithmetic. You might want to look at daylight saving patches for the OS
Callback Calendar
Posted:
Tue Oct 30, 2007 5:51 pm
by umop3plsdn
that's what I thought as well so I checked /etc/localtime with zdump (zdump -v /etc/localtime) and saw that everything looks alright for the upcoming time change.
/etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
Posted:
Wed Oct 31, 2007 11:05 pm
by mflorell
I have duplicated this issue and here is the fix.
Find this line (around 1296 somewhere):
$Cstart= mktime(0,0,0,$Cmonth,1,$CYyear);
Change it to:
$Cstart= mktime(11,0,0,$Cmonth,1,$CYyear);
And that is it. The problem is that since it was using midnight as it's time and the 4th only has 23 hours in it, that day will appear twice in areas where DST is used.
Thanks for finding this bug! It will be fixed in SVN tonight.
Posted:
Thu Nov 01, 2007 9:20 am
by umop3plsdn
No problem! Thanks for the fix!!