[Users] [Bug 3001] New: Respect locale LC_TIME to format date in message list

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Sep 11 22:07:04 CEST 2013


            Bug ID: 3001
           Summary: Respect locale LC_TIME to format date in message list
    Classification: Unclassified
           Product: Claws Mail
           Version: other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: UI/Message List
          Assignee: users at lists.claws-mail.org
          Reporter: seelenhirt at gmx.net

The date and time format in the "Date" column in the message list is "%x(%a)
%H:%M" per default (date_format in clawsrc). The format presumably changes if
claws is started with (locale) environment variable LANG or LC_MESSAGES (or
others?) set to something different than en_*. And then stays that way even
when the environment variable changes back. (Not sure if I got that really
right here.)

Right now I can only do the following two things to change the date/time

- Start claws with LANG=de_CH.UTF-8 once. After that date_format is in the
right format ("%a, %d.%m.%Y %H:%M" in my case)
- Edit the format in the preferences manually.

One problem persists though. The abbreviations of the week days (%a) are in
english instead of german.

In my opinion the date format should respect locale LC_TIME and not the general
language. I usually have set LANG to something different than LC_TIME.

I briefly scanned the code but could not find where to make these changes so I
hope someone else can point me to it.

You are receiving this mail because:
You are the assignee for the bug.

More information about the Users mailing list