Howto: set 24-hour time format for thunderbird in ubuntu 文件浏览器设置24小时格式
2011-10-23 14:19
441 查看
一直为thunderbird中的12小时的时间显示格式很苦恼,我还是喜欢24小时的时间显示方式。今天终于找到了解决方案。。。。
转自: http://www.bitsbythepound.com/use-a-24-hour-clock-in-ubuntu-352.html
参考自:http://ubuntuforums.org/showthread.php?t=919838
Use
a 24-hour clock in Ubuntu
This note applies to:Ubuntu Lucid 10.04
Mozilla Thunderbird 3.0.8
Mozilla Lightning 1.0b1
References:
blog.andrewbeacock.com
: how-to-change-your-default-locale-on.html
https://help.ubuntu.com/community/Locale
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
sudo gedit /etc/default/locale
Add the following line at the end of the default local file:
LC_TIME="en_DK.UTF-8"
Reboot the computer… (yeah, it is lame)
sudo reboot
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:
locale
The entry LC_TIME=en_DK.UTF-8 should
be displayed.
BTW:如果你只是想设置文件浏览器中的时间显示格式,那么按照如下操作即可:
For nautilus file manager, the date setting format is here:
Menu > Edit > Preferences > Display tab
相关文章推荐
- NSDateFormatter setDateFormat 自定義日期/時間格式
- [转]Hssfworkbook 设置单元格格式 setdataformat
- Database returned an invalid value in QuerySet.datetimes(). Are time zone definitions for your datab
- How to set up OpenERP for various timezone kindly follow the following steps to select timezone in OpenERP
- NSDateFormatter setDateFormat 自定义日期/时间格式
- Hssfworkbook 设置单元格格式 setdataformat
- Notes for "Sams Teach You Emacs in 24 Hour" - hour 1
- Database returned an invalid value in QuerySet.datetimes(). Are time zone definitions for your datab
- java.lang.RuntimeException: Date pattern must be set for column update_time in the schema of component
- NSDateFormatter setDateFormat 自定义日期/时间格式
- How to set date format to 24 hour
- NSDateFormatter setDateFormat 自定义日期/时间格式
- How to set network proxy for terminal in Ubuntu
- c# 12/24 Hour Time format
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the arguments (GameV
- 【译】Teach Yourself WPF in 24 Hours (Hour 4)
- build and set proxy in Ubuntu
- NPOI2.2.0.0实例详解(十)—设置EXCEL单元格【文本格式】 NPOI 单元格 格式设为文本 HSSFDataFormat
- Date Time Format in ruby
- differences between List and Set interface in point format