Middle day in the customer local time

All installation and configuration problems and questions

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

Middle day in the customer local time

Postby eijal » Mon Mar 26, 2007 12:31 pm

Hi,
I saw that when The Customer local time is in the MIDDLE DAY from the agc/vicidial.php, the agent's screen is something like this:
Code: Select all
MAR 26 12:24:13 AM


I thing the correct format is:
Code: Select all
MAR 26 12:24:13 PM


I added this very little code (black code) to the vicidial.php to fix this issue:

if (Chours > 12) {Chours = (Chours - 12); AMPM = 'PM';}
if (Chours == 12){AMPM = 'PM';}
if (Cmin < 10) {Cmin = "0" + Cmin;}

It could be great if it could be in the official release

Thanks :P
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby Op3r » Mon Mar 26, 2007 3:45 pm

whats the time of your server?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Tue Mar 27, 2007 5:43 am

Thank you very much for catching that, it has been fixed in SVN.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

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