projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75ad97
)
fix a polish voicemail bug with saying dates (issue #7389, supczinskib)
author
Russell Bryant
<russell@russellbryant.com>
Sun, 18 Jun 2006 21:26:48 +0000
(21:26 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Sun, 18 Jun 2006 21:26:48 +0000
(21:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34664
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
say.c
patch
|
blob
|
history
diff --git
a/say.c
b/say.c
index
1e9ed54
..
999f79c
100644
(file)
--- a/
say.c
+++ b/
say.c
@@
-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;
}