You are not logged in.

#1 2016-04-05 14:12:24

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

locale date using LC_TIME

somehow I can't make

LC_TIME=xy_ZW.UTF-8 date

to work in Debian Jessie (Neither in Ubuntu server 14.04). Same command is working just fine on OS X and Arch Linux. What I could be missing? (Yes the locales are generated)

btw: This

LC_ALL=xy_ZW.UTF-8 date

does work on Ubuntu and Jessie.

Last edited by brontosaurusrex (2016-04-05 14:18:15)

Offline

#2 2016-04-05 14:17:56

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: locale date using LC_TIME

Does modifying LC_ALL or LANG has any effect?

Offline

#3 2016-04-05 14:18:56

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: locale date using LC_TIME

Yes, LC_ALL does the trick, but afaik it should not be used lightly https://wiki.debian.org/Locale (there is even a warning sign smile).

Last edited by brontosaurusrex (2016-04-05 14:21:25)

Offline

#4 2016-04-06 03:35:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,668
Website

Re: locale date using LC_TIME

BTW there's no ja_JA locale. The system is just returning the default output here:

twoion wrote:
rinne:~/.spamassassin 
 $ LC_TIME=ja_JA.UTF-8 date
Wed Apr  6 00:29:37 JST 2016

I get the same with de_DE.UTF-8 because I don't have that locale installed.

Last edited by johnraff (2016-04-06 03:36:22)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB