From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5702 invoked by alias); 28 Sep 2012 11:50:03 -0000 Received: (qmail 21446 invoked by uid 48); 28 Sep 2012 11:33:42 -0000 From: "bugzilla at tecnocode dot co.uk" To: libc-locales@sources.redhat.com Subject: [Bug localedata/14641] New: Add a strftime()-like function for formatting human names Date: Fri, 28 Sep 2012 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bugzilla at tecnocode dot co.uk X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00074.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D14641 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=E2=80=99s useful that glibc=E2=80=99s locale data collects together diff= erent locales=E2=80=99 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 pars= er 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 par= se a *name* format string and substitute values for its field descriptors? --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.