This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/17297] Wrong date_fmt n Danish locale


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]