/FS-10058: [mod_voicemail] voicemail timestamp plays in military time #resolve

This commit is contained in:
Brian West 2017-02-20 17:30:28 -06:00
parent 976413786e
commit f6cc8e54bf
1 changed files with 6 additions and 1 deletions

View File

@ -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) {