Bug 3236 - locale en_IE doesn't define AM/PM, it should
Summary: locale en_IE doesn't define AM/PM, it should
Status: RESOLVED WONTFIX
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 21:40 UTC by Rory McCann
Modified: 2006-10-12 22:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rory McCann 2006-09-20 21:40:05 UTC
The locale for Ireland (en_IE) doesn't use AM/PM for time. It should.

This problem was previously described by Paul Dunne here:
http://sourceware.org/ml/bug-glibc/2003-01/msg00083.html

Here's some programme output:
$ uname -a
Linux din 2.6.15-26-powerpc #1 Fri Sep 8 19:51:33 UTC 2006 ppc GNU/Linux
$ ls -l /lib/libc-2*
-rwxr-xr-x 1 root root 7569580 2006-09-15 20:21 /lib/libc-2.4.so
$ locale
LANG=en_IE.UTF-8
LANGUAGE=en_IE:en
LC_CTYPE="en_IE.UTF-8"
LC_NUMERIC="en_IE.UTF-8"
LC_TIME="en_IE.UTF-8"
LC_COLLATE="en_IE.UTF-8"
LC_MONETARY="en_IE.UTF-8"
LC_MESSAGES="en_IE.UTF-8"
LC_PAPER="en_IE.UTF-8"
LC_NAME="en_IE.UTF-8"
LC_ADDRESS="en_IE.UTF-8"
LC_TELEPHONE="en_IE.UTF-8"
LC_MEASUREMENT="en_IE.UTF-8"
LC_IDENTIFICATION="en_IE.UTF-8"
LC_ALL=
$ locale -V
locale (belocs-locales-bin) 2.3.5
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.
$ echo $LC_ALL

$ date +%p

$ export LC_ALL=en_UK
$ date +%p
PM

The correct values for AM and PM are the same as for the UK. en_IE should mimic
en_UK for AM/PM.
Comment 1 Ulrich Drepper 2006-10-12 21:57:52 UTC
There is no en_UK.  There is en_GB and it does not define am/pm.  These fields
should remain undefined unless the am/pm format is the official format and
people don't understand the civilized form.  This is not the case for the UK and
I doubt very much it is for Ireland.
Comment 2 Rory McCann 2006-10-12 22:14:15 UTC
> undefined unless the am/pm format is the official format and
people don't understand the civilized form.

What do you mean, 'offical format'? Government approved? I don't know anything
about that, but I know am/pm is commonly used in Ireland.

What do you mean 'civilized form'?