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 610741 - Allow changing the abbreviated date (%ad) date format
Allow changing the abbreviated date (%ad) date format
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.22.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-02-22 21:52 UTC by Joona Palaste
Modified: 2018-10-19 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joona Palaste 2010-02-22 21:52:36 UTC
In Evolution 2.82.2, I am able to specify the date format in just about everywhere except the folder listing view. It always stays in the default format of the system locale, even though I have changed the date format in every other place I can. I cannot even find any place on the Preferences dialog to specify the date format in the folder listing view.
Comment 1 Akhil Laddha 2010-02-23 03:44:32 UTC
Did you try to change in edit -> preferences -> mail preferences -> headers -> date/time format ?
Comment 2 Joona Palaste 2010-02-23 06:05:24 UTC
Yes I did. When viewing an individual message, the date shown in the message headers is in the correct format. Still, in the folder listing, the dates shown next to the subject lines are in the system locale format, and there seems to be no way to change that.
Comment 3 Milan Crha 2018-10-18 10:01:04 UTC
I tried to reproduce it, and the Table Column is the value to be used in the message list (not folder list, with which I believe you meant the message list). The problem might be that there's used the %ad, which is for "abbreviated date", and when it's more than a week it turns to a locale default date format. Not using %ad allows to use any date format, in a price of loosing Today/Yesterday and so on.

Maybe having a way to specify the date format for the %ad might do the trick.
Comment 4 Milan Crha 2018-10-19 10:55:03 UTC
I just found out that one can change default formats in
   ~/.local/share/evolution/datetime-formats.ini
by adding into the [formats] section line like this:

   Default-Date=%Y*%m*%d

which can be done only when evolution is closed (it overwrites the file on close with the content it had when evolution was opened).

Nonetheless, I made an improvement to allow additional "argument" for the %ad format. When it's followed by a text in [], then it is used as a format for the date, instead of the default format. Thus it can be something like this:

   %ad[%d.%m.%Y] %I:%M %p

Created commit a4fbe506ae in evo master (3.31.2+)