Merged revisions 89125 via svnmerge from
authorJason Parker <jparker@digium.com>
Thu, 8 Nov 2007 23:53:00 +0000 (23:53 +0000)
committerJason Parker <jparker@digium.com>
Thu, 8 Nov 2007 23:53:00 +0000 (23:53 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11203)
........
r89125 | qwell | 2007-11-08 17:52:35 -0600 (Thu, 08 Nov 2007) | 4 lines

Properly say the seconds here..

Issue 11203, fix described by vma.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89126 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/say.c

index 92ce230..6daabdc 100644 (file)
@@ -4619,7 +4619,7 @@ int ast_say_date_with_format_fr(struct ast_channel *chan, time_t time, const cha
                                break;
                        case 'S':
                                /* Seconds */
-                               res = ast_say_number(chan, tm.tm_hour, ints, lang, (char * ) NULL);
+                               res = ast_say_number(chan, tm.tm_sec, ints, lang, (char * ) NULL);
                                if (!res) {
                                        res = wait_file(chan,ints, "digits/second",lang);
                                }