public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] More locale oddness
@ 2011-01-07  1:49 Stroller
  2011-01-07  2:29 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stroller @ 2011-01-07  1:49 UTC (permalink / raw
  To: gentoo-user

Hi there,

Can anyone else reproduce this, please, or tell me what behaviour is expected?

$ locale 
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
$ date +"%l:%M%P"
 1:39
$ LC_TIME="POSIX"
$ date +"%l:%M%P"
 1:39am
$

I had a single line of only LANG="en_GB.UTF-8" in /etc/env.d/02locale; adding LC_TIME="POSIX" allows various scripts and stuff (I've written) to show the date properly, but I think I read somewhere that this is bad.

Thanks for any advice,

Stroller.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-10 14:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07  1:49 [gentoo-user] More locale oddness Stroller
2011-01-07  2:29 ` Dale
2011-01-07  6:26 ` Alan McKinnon
2011-01-07 16:33   ` Stroller
2011-01-08 13:24     ` Alan McKinnon
2011-01-08 14:13       ` Stroller
2011-01-10 13:48       ` Steffen Loos
2011-01-07  8:21 ` Steffen Loos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox