This commit is contained in:
Jeff Lenk 2011-03-30 11:20:57 -05:00
parent 3a2e1d0337
commit e53487af57
1 changed files with 3 additions and 3 deletions

View File

@ -496,10 +496,10 @@ static switch_status_t ru_say_time(switch_core_session_t *session, char *tosay,
ru_say_count(session, buf, male_h, genitivus, args);
say_file("time/h-year.wav");
}
if (say_month || say_year || say_date || say_dow) {
say_file("time/at.wav");
}
if (say_time) {
if (say_month || say_year || say_date || say_dow) {
say_file("time/at.wav");
}
switch_snprintf(buf, sizeof(buf), "%d:%d:%d", tm.tm_hour, tm.tm_min, tm.tm_sec);
say_args->type = SST_TIME_MEASUREMENT;
ru_say_time(session, buf, say_args, args);