public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date
@ 2014-01-22 13:52 evert.gentoo at planet dot nl
  2014-01-22 14:04 ` [Bug libc/16495] " evert.gentoo at planet dot nl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: evert.gentoo at planet dot nl @ 2014-01-22 13:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16495

            Bug ID: 16495
           Summary: glibc-2.17+ - nl_NL locale fix for date
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: evert.gentoo at planet dot nl
                CC: drepper.fsp at gmail dot com

Created attachment 7367
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7367&action=edit
nl_NL locale patch for date

see https://bugs.gentoo.org/show_bug.cgi?id=498858

I'd like to share a patch which corrects the wrong formatted date for nl_NL*
locale settings.

In the Netherlands we say & write the full date like:
wo  1 jan 2014  8:59:59 CET  (%a %e %b %Y %k:%M:%S %Z)

Currently, when a locale setting like LC_TIME=nl_NL.UTF-8 is active, `date`
outputs:
wo jan  1 08:59:59 CET 2014  (%a %b %e %H:%M:%S %Z %Y)

which is totally wrong!
This patch corrects this locale issue.

Note: I already use this patch for years without any issue and it applies to
all glibc versions of the last few years.
I'm aware there might exist some braindead scripts which awk fields out of date
instead of using % format controls. However, I can't imagine that whould be any
issue since braindead scripts like that (should be) run in an en_US* or C
locale environment anyway.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/16495] glibc-2.17+ - nl_NL locale fix for date
  2014-01-22 13:52 [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date evert.gentoo at planet dot nl
@ 2014-01-22 14:04 ` evert.gentoo at planet dot nl
  2014-01-22 18:28 ` [Bug localedata/16495] " vapier at gentoo dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: evert.gentoo at planet dot nl @ 2014-01-22 14:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16495

Evert <evert.gentoo at planet dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugs.gentoo.org/sho
                   |                            |w_bug.cgi?id=498858

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/16495] glibc-2.17+ - nl_NL locale fix for date
  2014-01-22 13:52 [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date evert.gentoo at planet dot nl
  2014-01-22 14:04 ` [Bug libc/16495] " evert.gentoo at planet dot nl
@ 2014-01-22 18:28 ` vapier at gentoo dot org
  2014-06-13  8:52 ` fweimer at redhat dot com
  2014-06-13  8:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: vapier at gentoo dot org @ 2014-01-22 18:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16495

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libc-locales at sourceware dot org
                   |                            |, toolchain at gentoo dot org
          Component|libc                        |localedata
           See Also|                            |https://bugs.gentoo.org/sho
                   |                            |w_bug.cgi?id=498858

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/16495] glibc-2.17+ - nl_NL locale fix for date
  2014-01-22 13:52 [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date evert.gentoo at planet dot nl
  2014-01-22 14:04 ` [Bug libc/16495] " evert.gentoo at planet dot nl
  2014-01-22 18:28 ` [Bug localedata/16495] " vapier at gentoo dot org
@ 2014-06-13  8:52 ` fweimer at redhat dot com
  2014-06-13  8:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  8:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16495

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/16495] glibc-2.17+ - nl_NL locale fix for date
  2014-01-22 13:52 [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date evert.gentoo at planet dot nl
                   ` (2 preceding siblings ...)
  2014-06-13  8:52 ` fweimer at redhat dot com
@ 2014-06-13  8:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  8:53 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16495

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|fweimer at redhat dot com          |
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13  8:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 13:52 [Bug libc/16495] New: glibc-2.17+ - nl_NL locale fix for date evert.gentoo at planet dot nl
2014-01-22 14:04 ` [Bug libc/16495] " evert.gentoo at planet dot nl
2014-01-22 18:28 ` [Bug localedata/16495] " vapier at gentoo dot org
2014-06-13  8:52 ` fweimer at redhat dot com
2014-06-13  8:53 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).