Page 1 of 1

Middle day in the customer local time

PostPosted: Mon Mar 26, 2007 12:31 pm
by eijal
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

PostPosted: Mon Mar 26, 2007 3:45 pm
by Op3r
whats the time of your server?

PostPosted: Tue Mar 27, 2007 5:43 am
by mflorell
Thank you very much for catching that, it has been fixed in SVN.