This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/14641] New: Add a strftime()-like function forformatting human names
- From: "bugzilla at tecnocode dot co.uk" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: Fri, 28 Sep 2012 11:33:42 +0000
- Subject: [Bug localedata/14641] New: Add a strftime()-like function forformatting human names
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14641
Bug #: 14641
Summary: Add a strftime()-like function for formatting human
names
Product: glibc
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: localedata
AssignedTo: unassigned@sourceware.org
ReportedBy: bugzilla@tecnocode.co.uk
CC: libc-locales@sources.redhat.com
Classification: Unclassified
Itâs useful that glibcâs locale data collects together different localesâ ways
of formatting names as name_fmt (lh.2xlibre.net/values/name_fmt/). However,
this is difficult to use, and requires programs to implement their own parser
for the field descriptors. This causes duplication of code and means all the
programs have to be kept up-to-date with any changes to the set of allowed
field descriptors.
Would it be possible to add a function similar to strftime() which will parse a
*name* format string and substitute values for its field descriptors?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.