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, 01:37 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 03:17:12PM +0100, Johannes Wiedersich wrote:
> Osamu Aoki wrote:
> > 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.
>
> IIUC, OP wants "29.12.2008 05:43" instead. He uses "2008-12-29 05:43" as
> a workaround.

I realized ... for that he need to compile new locale with custom data.

$ man localedef


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-19-2009, 02:33 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 03:47:24PM +0100, Sven Joachim wrote:
> On 2009-01-19 15:17 +0100, Johannes Wiedersich wrote:
>
> > Osamu Aoki wrote:
> >> 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.
> >
> > IIUC, OP wants "29.12.2008 05:43" instead. He uses "2008-12-29 05:43" as
> > a workaround.
>
> This can be achieved with the ls --time-style option, see
> (Info "(coreutils) Formatting file timestamps").

Aha! This is much easier... Thanks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-20-2009, 02:43 PM
Osamu Aoki
 
Default change date/time display format for german locale in lenny like it has been on etch

Hi,

On Mon, Jan 19, 2009 at 09:59:13PM +0100, bugtracker@slideomania.com wrote:
> LC_TIME= | etch | lenny
> -------------------------------------------------
> de_DE.UTF-8 | 2007-01-19 21:32 | Jan 19 2007
> en_DK.UTF-8 | 2007-01-19 21:32 | Jan 19 2007

Is this true. My lenny/sid system gives me (I did LANG=)
de_DE.UTF-8 ---------- | 19. Jan 21:32
en_DK.UTF-8 ---------- | 2007-01-19 21:32
en_DK ---------- | 2007-01-19 21:32

> en_US.UTF-8 | 2007-01-19 21:32 | 2007-01-19 21:32
> POSIX | Jan 19 2007 | Jan 19 2007
> C | Jan 19 2007 | Jan 19 2007
>
> My state of confusion started this morning, when I was confronted with a
> POSIX/C style date format using the German locales on lenny. As you can see
> from the table, in lenny suddenly some locales seem to have changed from ISO
> 8601 style to POSIX/C style. Is this intentional behaviour, or something that
> should be reported as a bug? Again, I consider POSIX/C style to be horrible.
>
> Just for reference, [1] claims that "The locale support for the international
> date standard of yyyy-mm-dd (ISO 8601 date format) is provided by the locale
> called en_DK, "English in Denmark", which is a bit of joke :-)".
>
> Well, either this *is* a bug in the locales package (well, hope so), or the
> joke from Debian reference needs an update.
>
> [1] http://www.debian.org/doc/manuals/reference/ch-tune.en.html
> see "9.7.6 ISO 8601 date format locale"

New corresponding pages are:
http://people.debian.org/~osamu/pub/getwiki/html/ch02.en.html#timestamps (released package too)
http://people.debian.org/~osamu/pub/getwiki/html/ch10.en.html#customizeddisplayoftimeanddate (new after this posting)

I now stopped en_DK locale since that was days of woody. Long ago.

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 10:25 AM.

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