After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567870 - Evolution mail list ignores locale settings when displaying date / time
Evolution mail list ignores locale settings when displaying date / time
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-01-15 15:21 UTC by Marek
Modified: 2012-06-11 13:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Marek 2009-01-15 15:21:40 UTC
Probably some one already post that as a bug, but I cannot find it.

Basically on mail list Evolution uses 12h time, while my locale and Evolution's settings have it set to 24h time - this bug has been there for ages and is probably easy to fix, can we eventually have it fixed, please? :)
Comment 1 André Klapper 2009-01-15 18:18:13 UTC
Please tell us your exact locale. ("locale" output in terminal)
Comment 2 Marek 2009-01-15 19:27:49 UTC
[marek@d620 Desktop]$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
[marek@d620 Desktop]$
Comment 3 Marek 2009-01-15 19:31:59 UTC
when I run this:

$ export LC_TIME=en_GB.UTF-8 && evolution

I get 12h time in a mail view, but if I run this:

$ export LC_TIME=pl_PL.UTF-8 && evolution

I get 24h time in a mail view.

in UK in most cases everybody use 24h clock - on the stations, airports etc, no one actually uses am / pm.

also - why mailview is ignoring calendar's settings - calendar has its own locale settings - why this settings are not reflected in mail view?
Comment 4 seb 2009-02-07 08:32:03 UTC
I secon that.
My mail time shows 12h setting as well and in the calendar setting 24h is selected.

$ locale
LANG=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

Should this not be set by the system wide setting?

 export LC_TIME=en_AU.UTF-8 && evolution

gives me 12h setting as well in the mail view.

Hope this helps
Comment 5 André Klapper 2012-02-10 17:00:22 UTC
Hi Marek and seb, 

In case that "Edit > Preferences > Mail Preferences > Headers > Date/Time Format" is set to "Use local default" and it is wrong, it would be interesting to have another example of where the locale is used and it's right to make sure that it's an Evolution issue.

If you have time, could you please check again whether this issue still happens in Evolution 3.2.2 or 3.0.3 and update this report by adding a comment and changing the "Version" field and provide information about your distribution? Thanks a lot.
Comment 6 Akhil Laddha 2012-03-23 14:22:23 UTC
Marek and seb, did you get a chance to reproduce the problem with latest Evolution version ?
Comment 7 Marek 2012-03-23 15:05:59 UTC
(In reply to comment #6)
> Marek and seb, did you get a chance to reproduce the problem with latest
> Evolution version ?

I am using Evolution 2.32.3 and it displays time in a right way when selected "Use local default".