bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

locale for Ireland (en_IE) doesn't use AM/PM in dates; it should.


From: Paul Dunne
Subject: locale for Ireland (en_IE) doesn't use AM/PM in dates; it should.
Date: Wed, 29 Jan 2003 15:39:12 +0100

I'd like to report what I believe is a bug in locale.  The problem is
that the locale for Ireland (en_IE) doesn't use AM/PM in dates; it should.
Here's some program output:

$ uname -a
Linux paul.dunne.net 2.2.17 #8 Thu Jan 2 08:20:29 CET 2003 i586 unknown

$ ls -l /lib/libc-2*
-rwxr-xr-x   1 root     root      1008844 Sep 10  1999 /lib/libc-2.1.2.so

$ locale
LANG=POSIX
LC_COLLATE="en_IE"
LC_CTYPE="en_IE"
LC_MONETARY="en_IE"
LC_NUMERIC="en_IE"
LC_TIME="en_IE"
LC_MESSAGES="en_IE"
LC_ALL=en_IE

$ locale -v
GNU localedef 0.1

$ echo $LC_ALL
en_IE

$ date +%p

(yes, nothing!)

This is incorrect.  Ireland uses AM and PM, just like Britain and the
States.  Here is the correct behaviour:

$ export LC_ALL=en_UK
$ date +%p
PM

The problem also occurs, by the way, if I set LC_TIME explicitly.  I have
checked with locale --all-locale, and yes, the en_IE locale is installed
on my machine.

I hope I'm reporting this to the right place; the maintainer of
the locale programmer seemed the most logical person to contact, but
"address@hidden" bounces, and no e-mail address is mentionedin the
man page or program help.

-- 
Paul Dunne <address@hidden>
http://dunne.home.dhs.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]