aboutsummaryrefslogtreecommitdiffstats
path: root/say.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-05 04:26:59 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-05 04:26:59 +0000
commit46baacd8cc38b0bb26c616e796d19b8501cbcfc1 (patch)
tree0ed43f557bb058e897bef14200c224da1b7fbbbd /say.c
parent8619bbc560193b47f976d39e48dc70076562fe74 (diff)
correct french pronounciation of years between 1900 and 1999 (bug #3949)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5389 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'say.c')
-rwxr-xr-xsay.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/say.c b/say.c
index ea5a9ff84..ad6dc4a2d 100755
--- a/say.c
+++ b/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);
}
}