diff options
author | Mark Michelson <mmichelson@digium.com> | 2012-09-25 23:10:22 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2012-09-25 23:10:22 +0000 |
commit | 4284ade5a6a9be66181163f2e1237cf7c0ca68e5 (patch) | |
tree | b06f147005c1e6d17cbac8f8512317db15a25ca9 /main/say.c | |
parent | 2b56626b4308a1e8d79c36368c2ace0d8c0dbe69 (diff) |
Fix saying of date in Dutch.
The Dutch say the date before the month.
(closes issue ASTERISK-20353)
Reported by: Teun Ouwehand
........
Merged revisions 373773 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 373774 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Merged revisions 373775 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/say.c')
-rw-r--r-- | main/say.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/say.c b/main/say.c index d8122e3da..295d4110f 100644 --- a/main/say.c +++ b/main/say.c @@ -5300,7 +5300,7 @@ int ast_say_date_with_format_nl(struct ast_channel *chan, time_t t, const char * char sndfile[256], nextmsg[256]; if (format == NULL) - format = "ABdY 'digits/at' IMp"; + format = "AdBY 'digits/at' IMp"; ast_localtime(&when, &tm, tzone); @@ -5422,7 +5422,7 @@ int ast_say_date_with_format_nl(struct ast_channel *chan, time_t t, const char * res = wait_file(chan, ints, nextmsg, lang); break; case 'Q': - /* Shorthand for "Today", "Yesterday", or ABdY */ + /* Shorthand for "Today", "Yesterday", or AdBY */ /* XXX As emphasized elsewhere, this should the native way in your * language to say the date, with changes in what you say, depending * upon how recent the date is. XXX */ @@ -5442,12 +5442,12 @@ int ast_say_date_with_format_nl(struct ast_channel *chan, time_t t, const char * /* Yesterday */ res = wait_file(chan, ints, "digits/yesterday", lang); } else { - res = ast_say_date_with_format_nl(chan, t, ints, lang, "ABdY", tzone); + res = ast_say_date_with_format_nl(chan, t, ints, lang, "AdBY", tzone); } } break; case 'q': - /* Shorthand for "" (today), "Yesterday", A (weekday), or ABdY */ + /* Shorthand for "" (today), "Yesterday", A (weekday), or AdBY */ { struct timeval now = ast_tvnow(); struct ast_tm tmnow; @@ -5466,7 +5466,7 @@ int ast_say_date_with_format_nl(struct ast_channel *chan, time_t t, const char * /* Within the last week */ res = ast_say_date_with_format_nl(chan, t, ints, lang, "A", tzone); } else { - res = ast_say_date_with_format_nl(chan, t, ints, lang, "ABdY", tzone); + res = ast_say_date_with_format_nl(chan, t, ints, lang, "AdBY", tzone); } } break; |