diff options
author | Scott Griepentrog <sgriepentrog@digium.com> | 2013-12-20 21:18:00 +0000 |
---|---|---|
committer | Scott Griepentrog <sgriepentrog@digium.com> | 2013-12-20 21:18:00 +0000 |
commit | a0c288bb23164c6ff91019172980c8aff6fd8c8d (patch) | |
tree | 73fe541f448a40526e5624799d85ae67f2a74866 | |
parent | 344cdab3a71d8f8b3517e7efe6864165142b14ca (diff) |
say.c: correct time for polish
In ast_say_date_with_format_pl(), change ast_say_number() to
use tm_sec instead of tm_mn.
(closes issue ASTERISK-22856)
Reported by: Robert Mordec
Review: https://reviewboard.asterisk.org/r/3082/
Patches:
say.c.patch uploaded by veilen (license 6555)
........
Merged revisions 404456 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 404457 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 404458 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/say.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/say.c b/main/say.c index ed0a7b524..f8dcd4ea6 100644 --- a/main/say.c +++ b/main/say.c @@ -5712,7 +5712,7 @@ int ast_say_date_with_format_pl(struct ast_channel *chan, time_t thetime, const if (!res) res = wait_file(chan, ints, "digits/second-a", lang); } else { - res = ast_say_number(chan, tm.tm_min, ints, lang, "f"); + res = ast_say_number(chan, tm.tm_sec, ints, lang, "f"); if (!res) { int ten, one; ten = tm.tm_sec / 10; |