<SOLVED> date format

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
kyrios
Level 1
Level 1
Posts: 39
Joined: Sat Aug 24, 2013 6:46 am

<SOLVED> date format

Post by kyrios »

Hello,

I have installed Mint 17 Cinnamon in english but I would like to use the french date format (day month year).
When I change the LC_TIME to fr_FR.UTF-8, it does what I want (i.e: the date of the mails in Thunderbird is displayed as I want), but Mint keeps on changing it back to en_US.UTF-8

How can I permanently change LC_TIME without changing ALL the locales ?

Thank you
Last edited by kyrios on Mon Jun 02, 2014 2:04 am, edited 1 time in total.
kyrios
Level 1
Level 1
Posts: 39
Joined: Sat Aug 24, 2013 6:46 am

Re: date format - problem with the locales

Post by kyrios »

Hello,

I checked the file /etc/default/local

Code: Select all

LANG="en_US.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
I tried the command :
sudo dpkg-reconfigure locales
everything is up-to-date

however when I type
echo $LC_TIME
en_US.UTF-8
This seems to happen only for the Administrator user that was created during the installation. I tried with a standard user that I created afterwards and with root (sudo su) and for these 2 users it's correct.

Anyone can help please ????
kyrios
Level 1
Level 1
Posts: 39
Joined: Sat Aug 24, 2013 6:46 am

<SOLVED> date format

Post by kyrios »

I found out thanks the the Ubuntu documentation

It seems that the administrator user created during the installation of Mint has user-specific locale variables set, so changing the system locale entries in /etc/default/locale is overriden for this user.

I did edit the file $HOME/.pam_environment to fix the problem. I guess I could have deleted it to use the system defaults but I didn't try.
Post Reply

Return to “Newbie Questions”