This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/9867] no 12 hour clock or am/pm
- From: "admin at nullsleep dot co dot uk" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 19 Feb 2009 10:43:28 -0000
- Subject: [Bug localedata/9867] no 12 hour clock or am/pm
- References: <20090219080708.9867.admin@nullsleep.co.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From admin at nullsleep dot co dot uk 2009-02-19 10:43 -------
(In reply to comment #3)
> Sorry, it's not clear what "it" is - that depends on exactly what locale
> information GNOME uses to decide on whether to show 12-hour or 24-hour clock.
> Please ask GNOME developers about that - we need exact langinfo field or
> strftime format specifier name.
it is glibc, or so all the information i have got tells me, it is in
/usr/share/i18n/locale/en_GB, i just add:
%
% Strings for AM/PM
%
am_pm "<U0041><U004D>";"<U0050><U004D>"
%
% Appropriate AM/PM time representation (%r)
% "%l:%M:%S %p"
t_fmt_ampm "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U0070>"
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
And Gnome uses the 12 hour clock then.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9867
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.