]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 9 Jun 2022 00:50:25 +0000 (19:50 -0500)
commit58cf5d3912a53a5c3aa6410ec1210094aa2868b0
tree536c00311b2560d5678981aa63374d0119dcacab
parent82cebaa0236f86b761b83e86d3f9fa4df3532d05
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