Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The Thunderbird mail client defaults to the mm/dd/yyyy date format. I
need to replace that with dd/mm/yyyy. I found the answer is to change
LC_TIME to my local setting (he_IL). But where is that stored? I
tried:
/etc/profile
~/profile
~/.profile
~/.bash_profile
~/.bashrc
and several others that turned up in searches. But none of them have
this setting. Where is it located in Fedora Core 4? Thank you.
If you run the command: timeconfig, it should put the correct info into /etc/sysconfig/i18n.
I don't know where else to look for where the system puts it.
You could put this into .bash_profile or maybe even just run the command:
export LC_TIME="he_IL.UTF.8"
This is what my FC4 box shows from the command: locale
Thanks, I don't know what solved it, but I updated /etc/sysconfig/i18n as root, and as user did:
$ export LANG="he_IL.UTF.8"
$ export LC_ALL="he_IL.UTF.8"
I then logged out and logged back in, and found dd/mm/yy dates in Thunderbird. Also, Firefox is now in Hebrew!!! Yes!!! Thanks!
Great!
I think that if you look at /etc/profile.d/lang.sh, it will try grab from /etc/sysconfig/i8n unless you use the export command. So, you got it for sure by updating i18n and running the export command.
This solution leads to two questions:
1) There is no way to update this on a user-by-user basis? All the users on any paticular machine must have the same setting?
2) This leaves us with the dd/mm/yy format. Is there no way to specify dd-mm-yyyy? Or even yyyy-mm-dd?
Very interesting! But it still requires root to do the work, each user cannot control her own settings. But you did a great job of identifying a problem and devising a creative solution. Good job.
Homey,
I think that I may have mislead you by accident. I needed this for my personal machine. The question as to whether or not individual users could set their own preference was purely hypothetical.
But thank you for for insight- I learned a little more as to the way my system works. And as we both know, that knowledge is valuable. Ignorant computer users are naive and dangerous computer users.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.