FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-19-2009, 12:53 PM
Osamu Aoki
 
Default change date/time display format for german locale in lenny like it has been on etch

On Mon, Jan 19, 2009 at 02:31:09PM +0100, Johannes Wiedersich wrote:
> bugtracker@slideomania.com wrote:
> > Hi list,
> >
> > I recently noticed (took a while of head-scratching like "WTF? Something is
> > very weird here, but what is it?") that after the upgrade from etch to lenny,
> > the default display format for date/time when doing a "ls -al" for the german
> > locale unfortunately changed from
> >
> > etch: �31.12.2008 12:34� to
> > lenny: �13. Dez 12:34� and (IMO abdominable...!):
> > lenny: �13. Dez 2006� (for older entries)
>
> That looks horrible, indeed.
>
> > Is there an easy way to get back my desired format as it has been on etch,
> > preferably without the need to customize a locale file?
>
> Probably not.
>
> > As a workaround, I changed LC_TIME to "en_US.UTF-8", as this provides me at
> > least with an ISO-8601-conform format, but I'd prefer the numerical display
> > for german like it has been on etch.
>
> This looks promising
>
> http://ccollins.wordpress.com/2009/01/06/how-to-change-date-formats-on-ubuntu/

It was important to use en_IE when we were using non-UTF-8 locales.

Now even en_US.UTF-8 gives nice "2008-12-29 05:43" display.
(So does ja_JP.UTF-8 , but French, German, Spanish seems not to do so)

osamu@snoopy:~$ LANG=de_DE.UTF-8 ls -l
insgesamt 172
drwxr-xr-x 3 osamu osamu 4096 23. Dez 01:21 bin
...
osamu@snoopy:~$ LANG=de_DE.UTF-8 LC_TIME=en_US.UTF-8 ls -l
insgesamt 172
drwxr-xr-x 3 osamu osamu 4096 2008-12-23 01:21 bin
...

Here LC_MESSAGE is de_DE.UTF-8 while date is ISO-8601 format!

Osamu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org