This note applies to:
- Ubuntu Lucid 10.04
- Mozilla Thunderbird 3.0.8
- Mozilla Lightning 1.0b1
- blog.andrewbeacock.com : how-to-change-your-default-locale-on.html
I am a fervent user of the 24-hour clock. However, when I install a new platform, I often accept the default locale of en_US.UTF8. In general, I do not mind this locale. However, applications such as Thunderbird use the locale to adjust the display of various elements, including time. It affects also plug-ins such as Lightning.
This note is a receipt that changes the default time display from 12-hour clock to 24-hour clock.
- Edit the default locale file
Shell1sudo gedit /etc/default/locale
- Add the following line at the end of the default local file:
- Reboot the computer… (yeah, it is lame)
That’s it! From then on, applications that follow the locale will display the time in 24-hour clock format.
To verify that you successfully changed the locale, use the locale command:
The entry LC_TIME=en_DK.UTF-8 should be displayed.