<SOLVED> date format

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kyrios

<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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kyrios

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

<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.
Locked

Return to “Beginner Questions”