Implemented the english way of saying the year in ast_say_date_with_format_nl.
Currently the numbers are spoken correctly until 2020 and stopped working
this year.
ASTERISK-29297 #close
Reported-by: Jacek Konieczny
Change-Id: If5918eed5ab05df31df4dd23f08a909a60f6aba4
}
if (tm.tm_year > 100) {
if (!res) {
- /* This works until the end of 2020 */
- snprintf(nextmsg, sizeof(nextmsg), "digits/%d", tm.tm_year - 100);
- res = wait_file(chan, ints, nextmsg, lang);
+ res = ast_say_number(chan, tm.tm_year - 100, ints, lang, (char *) NULL);
}
}
} else {