[mod_say_ja, mod_say_th] Fix the seconds for TIME_MEASUREMENT

This commit is contained in:
Gang Zhuo 2022-08-24 08:53:59 +08:00 committed by root
parent 322f9220b3
commit ad455e5014
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ static switch_status_t ja_say_time(switch_core_session_t *session, char *tosay,
}
if (seconds) {
say_num(hours, SSM_PRONOUNCED);
say_num(seconds, SSM_PRONOUNCED);
say_file("time/seconds.wav");
} else {
if (hours || minutes) {

View File

@ -308,7 +308,7 @@ static switch_status_t th_say_time(switch_core_session_t *session, char *tosay,
if (seconds == 2) {
say_file("time/2s.wav");
} else {
say_num(hours, SSM_PRONOUNCED);
say_num(seconds, SSM_PRONOUNCED);
}
say_file("time/seconds.wav");
} else {