mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
/FS-10058: [mod_voicemail] voicemail timestamp plays in military time #resolve
This commit is contained in:
parent
976413786e
commit
f6cc8e54bf
@ -392,7 +392,12 @@ static switch_status_t en_say_time(switch_say_file_handle_t *sh, char *tosay, sw
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hour > 12) {
|
if (hour > 12) {
|
||||||
mil++;
|
if ( mil ) {
|
||||||
|
mil++;
|
||||||
|
} else {
|
||||||
|
hour -= 12;
|
||||||
|
pm = 1;
|
||||||
|
}
|
||||||
} else if (hour == 12) {
|
} else if (hour == 12) {
|
||||||
pm = 1;
|
pm = 1;
|
||||||
} else if (hour == 0) {
|
} else if (hour == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user