diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 02:14:42 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 02:14:42 +0000 |
commit | 7ac940b7fdaef6cdc9762b07e371322906fdaa87 (patch) | |
tree | afcaa3fe75ad82865ebd0c5fb3db8f25486a6f2f /say.c | |
parent | 55d241bdd360054c5c5213bbfc195a62087b4102 (diff) |
issue #5576
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7013 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'say.c')
-rwxr-xr-x | say.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3286,12 +3286,14 @@ int ast_say_date_with_format_da(struct ast_channel *chan, time_t time, const cha } break; case 'H': + /* 24-Hour, single digit hours preceeded by "oh" (0) */ + if (tm.tm_hour < 10 && tm.tm_hour > 0) { + res = wait_file(chan,ints, "digits/0",lang); + } + /* FALLTRHU */ case 'k': /* 24-Hour */ - res = wait_file(chan,ints,"digits/oclock",lang); - if (!res) { - res = ast_say_number(chan, tm.tm_hour, ints, lang, (char *) NULL); - } + res = ast_say_number(chan, tm.tm_hour, ints, lang, (char *) NULL); break; case 'M': /* Minute */ |