Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158521 - en_GB locale lacks am/pm representation
Summary: en_GB locale lacks am/pm representation
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 00:20 UTC by Ooblick
Modified: 2006-12-19 14:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add AM/PM and %r representation to the en_GB locale (en_GB_ampm.patch,840 bytes, patch)
2006-12-19 00:21 UTC, Ooblick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ooblick 2006-12-19 00:20:29 UTC
The en_GB locale has no am/pm representation string:

Expected result:

> date +"%p"
PM
>

Actual result:

> date +"%p"

>

(A blank response). This has the knock on effect of there being no 12 hour option in the Gnome clock, and the Evolution calendar is stuck on 24 hour time.

Attached is a patch to glibc to add this to the en_GB locale.
Comment 1 Ooblick 2006-12-19 00:21:34 UTC
Created attachment 104345 [details, diff]
Patch to add AM/PM and %r representation to the en_GB locale
Comment 2 SpanKY gentoo-dev 2006-12-19 14:37:24 UTC
please file this bug here:
http://sources.redhat.com/bugzilla/

and CC toolchain@gentoo.org when you do, thanks !