]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_sayunixtime: Use correct inflection for German time.
authorChristof Efkemann <christof@efkemann.net>
Wed, 1 Jun 2022 19:59:11 +0000 (21:59 +0200)
committerChristof Efkemann <christof@efkemann.net>
Tue, 7 Jun 2022 07:49:06 +0000 (02:49 -0500)
commit74df01009fd40640e00552e5ec6b85e9edb534a4
tree1e4dd5dc8951bd7b2195b43530e7b68dde4f03e9
parent169e5533204c54ad5dd09bfb0e92b8783c35979c
app_sayunixtime: Use correct inflection for German time.

In function ast_say_date_with_format_de(), take special
care when the hour is one o'clock. In this case, the
German number "eins" must be inflected to its neutrum form,
"ein". This is achieved by playing "digits/1N" instead of
"digits/1". Fixes both 12- and 24-hour formats.

ASTERISK-30092

Change-Id: Ica9b80125c0b317e378d89c1ea786816e2635510
main/say.c