mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
6
say.c
6
say.c
@@ -3876,9 +3876,11 @@ int ast_say_date_with_format_es(struct ast_channel *chan, time_t time, const cha
|
|||||||
case 'P':
|
case 'P':
|
||||||
case 'p':
|
case 'p':
|
||||||
/* AM/PM */
|
/* AM/PM */
|
||||||
if (tm.tm_hour > 12)
|
if (tm.tm_hour > 18)
|
||||||
res = wait_file(chan, ints, "digits/p-m", lang);
|
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);
|
res = wait_file(chan, ints, "digits/a-m", lang);
|
||||||
break;
|
break;
|
||||||
case 'Q':
|
case 'Q':
|
||||||
|
Reference in New Issue
Block a user