[asterisk-bugs] [Asterisk 0015273]: [patch] german time (20:01:00 oh clock) is announced wrong
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 4 11:31:20 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15273
======================================================================
Reported By: Benjamin Kluck
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15273
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.1.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-04 11:31 CDT
Last Modified: 2009-06-04 11:31 CDT
======================================================================
Summary: [patch] german time (20:01:00 oh clock) is announced
wrong
Description:
Hi!
This bug is a bit tricky to explain.
Please consider the following dialplan:
exten => 1,1,Set(CHANNEL(language)=de)
exten => 1,n,DateTime(1240336860,Europe/Berlin,HM)
asterisk says:
"Zwanzig Uhr Eine" ("Eine" is the german female (1F.gsm) of
"Eins"(1.gsm))
This is wrong. Correct would be:
"Zwanzig Uhr Eins"
We only have to say "Eine" if we say "Minute" ("Eine Minute" is correct).
So
exten => 1,n,DateTime(1240336862,Europe/Berlin,HMS)
is working correctly ("Zwanzig Uhr Eine Minute Zwei Sekunden)
There is also another problem:
In Germany we say "eine Sekunde" and "zwei Sekunden" (just like the
english "one second", "two seconds") but asterisk always says "Sekunden".
I attached a patch which corrects this behavior. Use it for your needs.
Cheers
Ben
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-04 11:31 Benjamin Kluck New Issue
2009-06-04 11:31 Benjamin Kluck Asterisk Version => 1.6.1.0
2009-06-04 11:31 Benjamin Kluck Regression => No
2009-06-04 11:31 Benjamin Kluck SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list