LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to change the format of date in thunderbird in rhel 5.8 (https://www.linuxquestions.org/questions/red-hat-31/how-to-change-the-format-of-date-in-thunderbird-in-rhel-5-8-a-935849/)

ashwin_cse 03-22-2012 06:27 AM

How to change the format of date in thunderbird in rhel 5.8
 
Hi,

I am using rhel 5.8 64 bit. I have thunderbird 10.0.3 . I have language set to english india. LANG=en_IN.UTF-8 .I set the language through system-config-language . original it was en_US.UTF-8. it showed date in mm/dd/yy format in thunderbird. I wanted it to show in dd/mm/yy format. Since india uses this format. i though changing language to in english india will fix the problem. But now i get the date in format like 'friday 16 march 2012 03:50 PM'. So i think english_in is not good and is not mature enough. How do i fix this to get date in thunderbird to display as 16/02/2012 03:50PM.

with regards,
ashwin

vaettchen 03-24-2012 03:10 AM

Try LANG=en_UK.UTF-8

ashwin_cse 03-28-2012 02:53 AM

Quote:

Originally Posted by vaettchen (Post 4634964)
Try LANG=en_UK.UTF-8

I tried system-config-language and choose Great Britain. and that solved the problem. Now i am afraid if there any side effects of this. So far so good.

David the H. 03-28-2012 08:05 AM

Two more points that may help you.


1) You can prefix an individual command with a variable setting, to have that setting only affect that process.

2) In this case you don't need to set the overall LANG variable. It's the LC_TIME variable that controls the date format in thunderbird.

So try launching TB with the command like this:
Code:

LC_TIME=en_UK.UTF-8 thunderbird
Make sure that the desired locale is available on your system first, of course.


More on the time format in TB here:
http://kb.mozillazine.org/Date_display_format


All times are GMT -5. The time now is 04:56 PM.