]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 9 Jun 2022 08:46:38 +0000 (03:46 -0500)
commit0e96b76d01701bf2276843488a43915e8e87e984
treec04cc2d93f6a395ff3d51bf50309fbb66729e0da
parentb81fbbc6dce48744af506745e7b77d61abdbf1c7
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