[asterisk-bugs] [Asterisk 0014333]: [patch] add option to configure locale for date/time string construction
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Apr 4 03:49:08 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14333
======================================================================
Reported By: klaus3000
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 14333
Category: Applications/app_voicemail/NewFeature
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: ready for testing
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 169203
Request Review:
======================================================================
Date Submitted: 2009-01-26 07:35 CST
Last Modified: 2009-04-04 03:49 CDT
======================================================================
Summary: [patch] add option to configure locale for date/time
string construction
Description:
Hi!
When voicemail sends emails it constructs the date/time when the
voicemessage was received. This patch allows to configure the locale for
generation of the string.
locale=de_AT.UTF-8 results in
"Montag, 26 Jänner 2009" instead of "Monday, 26 January 2009".
This could also be achieved setting the default OS locale - but this would
also change the locale of all other date/time strings in Asterisk
(logmesage, CDRs...) which can be bad.
======================================================================
----------------------------------------------------------------------
(0102737) klaus3000 (reporter) - 2009-04-04 03:49
http://bugs.digium.com/view.php?id=14333#c102737
----------------------------------------------------------------------
building (trunk) fails:
[CC] ael_main.c -> ael_main.o
In file included from
/export/darilion/asterisk-1.4-versionen/svn-trunk/include/asterisk/utils.h:34,
from
/export/darilion/asterisk-1.4-versionen/svn-trunk/include/asterisk/config.h:30,
from
/export/darilion/asterisk-1.4-versionen/svn-trunk/include/asterisk/channel.h:143,
from ael_main.c:18:
/export/darilion/asterisk-1.4-versionen/svn-trunk/include/asterisk/localtime.h:30:
error: conflicting types for ‘locale_t’
/usr/include/locale.h:148: error: previous declaration of ‘locale_t’
was here
make[1]: *** [ael_main.o] Error 1
Issue History
Date Modified Username Field Change
======================================================================
2009-04-04 03:49 klaus3000 Note Added: 0102737
======================================================================
More information about the asterisk-bugs
mailing list