Since my migration to thunderbird I did not had many things to complain but one of the remaining things was the date format. I am expecting to have something like DD/MM/YY or at least DD MMM YYYY. I did not imagined this could be something else than configuration somewhere. Or not…

After some digging I found out there is no way to configure the date string but the only way to change the date is to change the locale the application is using. The first step was to see the installed locales:

locale -a
C
en_AG
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NG
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX

then to check each locale date format, for example:

len@black:~$ LC_ALL=en_DK.utf8 locale -k d_fmt t_fmt
d_fmt="%Y-%m-%d"
t_fmt="%T"
len@black:~$ LC_ALL=en_GB.utf8 locale -k d_fmt t_fmt
d_fmt="%d/%m/%y"
t_fmt="%T"

the remaining thing was to convince thunderbird to use this locale. I’ve done this by creating /usr/bin/mythunderbird script:

LC_ALL=en_GB.utf8 $(dirname $0)/thunderbird

now the dates are much better:

Thunderbird dates config Thunderbird dates config

Comments:

Len » Changing dates in Thunderbird Mozilla Fennec -

[…] more here:  Len » Changing dates in Thunderbird By admin | category: thunderbird | tags: did-not, migration, mmm, remaining, the-date, […]