Re: [Evolution] Change the Date format
- From: Eric Lambart <ximian nomeaning net>
- To: evolution lists ximian com
- Subject: Re: [Evolution] Change the Date format
- Date: 21 Apr 2003 15:14:31 -0700
Well the file that's causing the problem should be
/usr/lib/locale/sv_SE.utf8/LC_TIME (or possibly "sv_SE.UTF-8/LC_TIME")
but without recompiling your glibc I'm not sure what you can do.
I don't think this is an Evolution issue, though hmmmm.... I may be
mistaken! I just discovered another file which may be the issue here:
/usr/share/locale/sv/LC_MESSAGES/evolution.mo.
Maybe that's the file at fault, in which case you'd want to talk to the
person(s) responsible for Evolution's Swedish translation. It appears
there is no equivalent file for the en_US--probably since Ximian is
based in the US--and so Evolution is taking my settings from LC_TIME.
If this is the case, I wonder why Evolution is messing with the system
default time formats anyway. It seems to me it SHOULD use your system's
default LC_TIME format, so perhaps this could be considered a bug in
Evolution.
I'm sorry but I've reached the end of my knowledge here and can only
make poor guesses. Maybe someone else (from Ximian?) will have some
insight.
Good luck, Helgi.
Eric
P.S. Incidentally I "fixed" my 12-hr clock by hacking the LC_TIME from
en_GB, which uses a 24hr clock. IIRC I just had to make the fairly
trivial change in the date format string, from DD-MM-YYYY to MM-DD-YYYY
like we use in the US. The format strings can be found from "man
strftime" and I think they are used in the evolution.mo file too.
On Mon, 2003-04-21 at 14:35, Helgi Örn Helgason wrote:
On Sat, 2003-04-19 at 21:03, Eric Lambart wrote:
There's currently no way to do that. The format that Evolution displays
depends on the locale that you are currently using. For me, it is
en_US, and the file in my RH 7.1 installation that determines the format
is /usr/lib/locale/en_US/LC_TIME.
If you have AM/PM displayed in the time, it sounds to me like you are
set to an American locale...?
This is RedHat 9 with:
# locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=
Anyway, I hacked my LC_TIME file to display 24-hr time instead of 12-hr,
but just so you know... there's no way to get rid of the
"Today/Yesterday" thing without patching and recompiling Evolution
itself.
That's not a problem for me, it's the PM/AM thing I don't like, I want
the 24 hour time.
Cheers,
HÖ
_______________________________________________
evolution maillist - evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
--
I have nothing against the American people...
...but it is time for a regime change
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]