[Bug localedata/4821] New: Suggested new LC_TIME keywords: d_sep and t_sep

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/4821] New: Suggested new LC_TIME keywords: d_sep and t_sep

glaubitz at physik dot fu-berlin.de
I think that LC_TIME should have 2 additional keywords: d_sep (date parts
separator) and t_sep (time parts separator).

d_sep and t_sep could be indicated by e. g. "%q" and "%Q" if they aren't used
now.

Some programs use e. g. "%d %m %Y" or "%d %m %H:%M" which are incorrect in
some locales. Instead these programs should use "%d%q%m%q%Y"
or "%d%q%m%q%H%Q%M", respectively.

In "C" / "en_US" d_sep would be " " and t_sep would be ":".

Introducing d_sep and t_sep would be very helpful for solving of some problems
concerning LC_TIME locales.

--
           Summary: Suggested new LC_TIME keywords: d_sep and t_sep
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: Arfrever dot FTA at GMail dot Com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4821

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/4821] Suggested new LC_TIME keywords: d_sep and t_sep

glaubitz at physik dot fu-berlin.de

------- Additional Comments From drepper at redhat dot com  2007-08-21 14:08 -------
These programs should just use the pre-defined formats and not invent their own.
 That's the problem.  The solution cannot be to add yet more locale
functionality nobody knows about and/or uses.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=4821

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.