[asterisk-bugs] [Asterisk 0014333]: [patch] add option to configure locale for date/time string construction

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 16:28:20 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14333 
====================================================================== 
Reported By:                klaus3000
Assigned To:                
====================================================================== 
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 
JIRA:                       SWP-1483 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 169203 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-26 07:35 CST
Last Modified:              2010-06-01 16:28 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0015237 [patch] Added emaildatelocale option fo...
====================================================================== 

---------------------------------------------------------------------- 
 (0122741) svnbot (reporter) - 2010-06-01 16:28
 https://issues.asterisk.org/view.php?id=14333#c122741 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 266828

U   trunk/CHANGES
U   trunk/apps/app_voicemail.c
U   trunk/configs/voicemail.conf.sample
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in
U   trunk/include/asterisk/localtime.h
U   trunk/main/stdtime/localtime.c
A   trunk/tests/test_locale.c

------------------------------------------------------------------------
r266828 | tilghman | 2010-06-01 16:28:19 -0500 (Tue, 01 Jun 2010) | 9
lines

Support setting locale per-mailbox (changes date/time languages for email,
pager messages).

(closes issue https://issues.asterisk.org/view.php?id=14333)
 Reported by: klaus3000
 Patches: 
       20090515__issue14333.diff.txt uploaded by tilghman (license 14)
       app_voicemail.c-svn-trunk-rev211675-patch.txt uploaded by klaus3000
(license 65)
 Tested by: klaus3000

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=266828 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 16:28 svnbot         Checkin                                      
2010-06-01 16:28 svnbot         Note Added: 0122741                          
======================================================================




More information about the asterisk-bugs mailing list