Re: [Evolution] Comments and questions on the Evolution mailer



On Mon, 2005-01-03 at 08:17 +0100, Svante Signell wrote:
On Fri, 2004-12-31 at 17:19 +0100, guenther wrote:

I might do that as a workaround. Which locale has an LC_TIME giving the
date in English and uses 24 hour format?

LC_TIME=en_GB


Evolution is part of the official Gnome Desktop. One of it's aims are a
consistent UI. Evolution should display the date exactly like any other
Gnome application.

If you want 24 hour time format, set the locales accordingly for the
whole Desktop. And Evolution magically will behave just like you expect
it.

What is controlling the date format from GNU coreutils? I suspect that
the timezone setting comes into play here, since setting the LC_TIME to
en_GB, en_US and sv_SE all give a 24 hour time format.

Apparently, date defaults to a 24 hour format always, regardless of the
LC_TIME and TZ (timezone) environment variable.

Explicitly specifying TZ does change the displayed time (according to
the timezones offset) but does not affect the default date and time
format (still 24 hour format).

Localized output (based on LC_TIME, not TZ) by date is returned, if the
format string is set explicitly (like %c).


This would also
be a desirable behaviour of Evolution: If you don't set any LC variables
and LC_CTYPE is equal to C, the timezone you are in cuold control the
time format. In my case I'm in using CET and this should result in a 24
hour time format. Maybe difficulties can arise in North and South
America depending on if you are in the same time zone and use different
time formats. Otherwise this could be a feasible idea.

LC_TIME controls the time format, not TZ. See 'man locale'.


If you don't like translated strings and prefer to use an English
Desktop (like me), then don't insist on using en_US. Use LC_TIME=en_GB
instead, if you want English with 24 hour format.

Unless you answer to my question why you don't want to change LC_TIME, I
only can repeat the solution over and over again. Arguing only doesn't
get you any better results...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]