[Asterisk-cvs] asterisk say.c,1.50,1.51
markster at lists.digium.com
markster at lists.digium.com
Thu Mar 10 03:01:39 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4450
Modified Files:
say.c
Log Message:
Fix spanish date format (bug #3642)
Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- say.c 4 Feb 2005 07:11:28 -0000 1.50
+++ say.c 10 Mar 2005 08:58:01 -0000 1.51
@@ -3127,20 +3127,7 @@
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 */
More information about the svn-commits
mailing list