From bcb1968f6ffa04f3996a67f6274c25f63945b93f Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 28 Mar 2005 05:40:13 +0000 Subject: fix saying the date in spanish (bug #3642) git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@5285 f38db490-d61c-443f-a65b-d21fe96a405b --- say.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'say.c') diff --git a/say.c b/say.c index 480b08e8e..ba3dd52cf 100755 --- a/say.c +++ b/say.c @@ -2976,20 +2976,7 @@ int ast_say_date_with_format_pt(struct ast_channel *chan, time_t time, char *int case 'H': case 'k': /* 24-Hour */ - res = ast_say_number(chan, -tm.tm_hour, ints, lang, NULL); - if (!res) { - if (tm.tm_hour != 0) { - int remainder = tm.tm_hour; - if (tm.tm_hour > 20) { - res = wait_file(chan,ints, "digits/20",lang); - remainder -= 20; - } - if (!res) { - snprintf(nextmsg,sizeof(nextmsg), "digits/%d", remainder); - res = wait_file(chan,ints,nextmsg,lang); - } - } - } + res = ast_say_number(chan, tm.tm_hour, ints, lang, NULL); break; case 'M': /* Minute */ -- cgit v1.2.3