diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-18 21:26:48 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-18 21:26:48 +0000 |
commit | 6c9e5a30c9759983b8f39d04a516269343f913e2 (patch) | |
tree | b7ad01517ad516cdcdad035a13f9382ebdf18af5 /say.c | |
parent | afea7adc1ccd2ed6a3dd1607d2f425cccfbd08ed (diff) |
fix a polish voicemail bug with saying dates (issue #7389, supczinskib)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34664 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'say.c')
-rw-r--r-- | say.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4698,7 +4698,11 @@ int ast_say_date_with_format_pl(struct ast_channel *chan, time_t thetime, const case 'e': /* First - Thirtyfirst */ remainder = tm.tm_mday; - if (tm.tm_mday > 20) { + if (tm.tm_mday > 30) { + res = wait_file(chan, ints, "digits/h-30", lang); + remainder -= 30; + } + if (tm.tm_mday > 20 && tm.tm_mday < 30) { res = wait_file(chan, ints, "digits/h-20", lang); remainder -= 20; } |