public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/17297] New: Wrong date_fmt n Danish locale
@ 2014-08-21 17:42 eyolf at oestrem dot com
  2014-08-22 13:38 ` [Bug localedata/17297] " keld at keldix dot com
  0 siblings, 1 reply; 2+ messages in thread
From: eyolf at oestrem dot com @ 2014-08-21 17:42 UTC (permalink / raw)
  To: glibc-bugs

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.


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

* [Bug localedata/17297] Wrong date_fmt n Danish locale
  2014-08-21 17:42 [Bug localedata/17297] New: Wrong date_fmt n Danish locale eyolf at oestrem dot com
@ 2014-08-22 13:38 ` keld at keldix dot com
  0 siblings, 0 replies; 2+ messages in thread
From: keld at keldix dot com @ 2014-08-22 13:38 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from keld at keldix dot com <keld at keldix dot com> ---
On Thu, Aug 21, 2014 at 05:42:22PM +0000, eyolf at oestrem dot com wrote:
> 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.

I can confirm that the second format is wrong, and that the patch would solve
the problem..

The adress that is not working is probably my old address, keld@dkuug.dk.
A working address is keld@rap.dk I wrote the original locale for da_DK

Best regards
keld

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


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

end of thread, other threads:[~2014-08-22 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21 17:42 [Bug localedata/17297] New: Wrong date_fmt n Danish locale eyolf at oestrem dot com
2014-08-22 13:38 ` [Bug localedata/17297] " keld at keldix 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).