Callback Calendar

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Callback Calendar

Postby umop3plsdn » Tue Oct 30, 2007 4:20 pm

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.
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine

Postby rajeevpn » Tue Oct 30, 2007 4:42 pm

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
rajeevpn
 
Posts: 48
Joined: Wed Aug 16, 2006 7:42 am

Callback Calendar

Postby umop3plsdn » Tue Oct 30, 2007 5:51 pm

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
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine

Postby mflorell » Wed Oct 31, 2007 11:05 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby umop3plsdn » Thu Nov 01, 2007 9:20 am

No problem! Thanks for the fix!!
umop3plsdn
 
Posts: 72
Joined: Wed Jul 26, 2006 9:47 am
Location: Maine


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 111 guests