public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "eyolf at oestrem dot com" <sourceware-bugzilla@sourceware.org>
To: libc-locales@sourceware.org
Subject: [Bug localedata/17297] New: Wrong date_fmt n Danish locale
Date: Thu, 21 Aug 2014 18:40:00 -0000	[thread overview]
Message-ID: <bug-17297-716@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 17297
           Summary: Wrong date_fmt n Danish locale
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: eyolf at oestrem dot com
                CC: libc-locales at sourceware dot org

The Danish locale defintion file at  localedata / locales / da_DK has the
following date string definitions:

d_t_fmt="%a %d %b %Y %T %Z"
date_fmt="%a %b %e %H:%M:%S %Z %Y"

or in unicodese:

209 date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
210 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
211 <U0025><U005A><U0020><U0025><U0059>"

The first is correct, but the second has the date in an order that one would
never use in Denmark. Correct would be to let %b and %e change places. So:

date_fmt="%a %e %b %H:%M:%S %Z %Y"

or 

209 date_fmt        "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062>/
210 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
211 <U0025><U005A><U0020><U0025><U0059>"

Also, the email address of the person who is indicated in the beginning of the
file does not work.

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

             reply	other threads:[~2014-08-21 18:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 18:40 eyolf at oestrem dot com [this message]
2014-08-22 13:38 ` Keld Simonsen
2014-08-22 13:40 ` [Bug localedata/17297] " keld at keldix dot com
2016-02-19 10:49 ` [Bug localedata/17297] da_DK: wrong date_fmt string vapier at gentoo dot org
2016-06-10 16:41 ` vapier at gentoo dot org
2017-07-11  8:36 ` cvs-commit at gcc dot gnu.org
2017-07-11  8:37 ` maiku.fabian at gmail dot com
2017-07-11  8:38 ` maiku.fabian at gmail dot com
2017-08-02 14:07 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17297-716@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).