Page 1 of 1

24 hours time instead of AM/PM

PostPosted: Sat Dec 08, 2007 7:27 am
by DarknessBBB
Hello everybody,
is it difficult to add a selection where we can switch from AM/PM to 24 hours time, i.e. when we schedule callbacks?

Thank you very much.

Davide

PostPosted: Sat Dec 08, 2007 2:01 pm
by mflorell
Good idea for a feature request. Please post to the tracker.

PostPosted: Wed Dec 19, 2007 2:06 pm
by DarknessBBB
I've uploaded a modified vicidial.php into the tracker.
Dropped AM/PM selection code.
Added 15 and 45 minutes selection.
Modified hours to 00-23 selection.

Please can anyone test it? I haven't got production servers so I can only test it by myself .

This is a raw attempt, but maybe it's a good idea to modify the admin side too, to make possible to switch from AM/PM to 24 and viceversa.
Any hint?

Davide

PostPosted: Thu Dec 20, 2007 1:16 am
by mflorell
Thanks for posting. Usually it helps a lot more if you post a DIFF file of the changes instead of the complete file. hat way it will still be usable by people who have other versions of the script as well.

PostPosted: Thu Dec 20, 2007 4:41 am
by DarknessBBB
mflorell wrote:Thanks for posting. Usually it helps a lot more if you post a DIFF file of the changes instead of the complete file. hat way it will still be usable by people who have other versions of the script as well.


Thanks for the hint, it is the first time for me :oops: :oops:

Just uploaded to the tracker!