mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
/FS-10058: [mod_voicemail] voicemail timestamp plays in military time #resolve
This commit is contained in:
@@ -392,7 +392,12 @@ static switch_status_t en_say_time(switch_say_file_handle_t *sh, char *tosay, sw
|
||||
}
|
||||
|
||||
if (hour > 12) {
|
||||
mil++;
|
||||
if ( mil ) {
|
||||
mil++;
|
||||
} else {
|
||||
hour -= 12;
|
||||
pm = 1;
|
||||
}
|
||||
} else if (hour == 12) {
|
||||
pm = 1;
|
||||
} else if (hour == 0) {
|
||||
|
||||
Reference in New Issue
Block a user