diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-07-11 23:27:51 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-07-11 23:27:51 +0000 |
commit | 83873b6a90006f94051c855a4c70acac1cf3fd1a (patch) | |
tree | e04d578b026586c97bd773a26b4cd1178b2b6312 | |
parent | 94274cc26bdca91ebbe79d052f1c61b5fb7650aa (diff) |
say times in spanish properly (using new sound files that are not yet released)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | say.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3876,9 +3876,11 @@ int ast_say_date_with_format_es(struct ast_channel *chan, time_t time, const cha case 'P': case 'p': /* AM/PM */ - if (tm.tm_hour > 12) + if (tm.tm_hour > 18) res = wait_file(chan, ints, "digits/p-m", lang); - else if (tm.tm_hour && tm.tm_hour < 12) + else if (tm.tm_hour > 12) + res = wait_file(chan, ints, "digits/afternoon", lang); + else if (tm.tm_hour) res = wait_file(chan, ints, "digits/a-m", lang); break; case 'Q': |