mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
correct french pronounciation of years between 1900 and 1999 (bug #3949)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
say.c
4
say.c
@@ -3724,8 +3724,10 @@ int ast_say_date_with_format_fr(struct ast_channel *chan, time_t time, const cha
|
||||
/* I'm not going to handle 1900 and prior */
|
||||
/* We'll just be silent on the year, instead of bombing out. */
|
||||
} else {
|
||||
res = wait_file(chan,ints, "digits/19",lang);
|
||||
res = wait_file(chan,ints, "digits/thousand",lang);
|
||||
if (!res) {
|
||||
wait_file(chan,ints, "digits/9",lang);
|
||||
wait_file(chan,ints, "digits/hundred",lang);
|
||||
res = ast_say_number(chan, tm.tm_year, ints, lang, (char * ) NULL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user