Howto: set 24-hour time format for thunderbird in ubuntu 文件浏览器设置24小时格式

一直为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.

  1. Edit the default locale file
    sudo gedit  /etc /default /locale
  2. Add the following line at the end of the default local file:
    LC_TIME="en_DK.UTF-8"
  3. 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


你可能感兴趣的:(浏览器,manager,ubuntu,File,menu,mozilla)