為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to set Thunderbird Calendar to 24h format ?

  • 11 回覆
  • 4 有這個問題
  • 2 次檢視
  • 最近回覆由 Onno Ekker

more options

My system config is already in 24h format.

Already restart Thunderbird and my computer.

Also date format in Thunderbird is mm/dd/yyyy but my system format is dd/mm/yyyy.

Fedora 23, Thunderbird 45.4.0

My system config is already in 24h format. Already restart Thunderbird and my computer. Also date format in Thunderbird is mm/dd/yyyy but my system format is dd/mm/yyyy. Fedora 23, Thunderbird 45.4.0

由 Islandil 於 修改

被選擇的解決方法

Did you check the KB article, specifically Configuring the date/time system settings on your computer ? By starting Thunderbird with the variable LC_TIME set to fr it should use French date/time, as I understand it.

Try the following command to start TB: (export LC_TIME=fr; thunderbird)

從原來的回覆中察看解決方案 👍 1

所有回覆 (11)

more options

check the TZ environment variable in your distribution. Thunderbird will use whatever that is set to. After it restarts to read the value that is.

more options

Timezone is set to CET Europe Paris. This timezone should use 24h format and dd/mm/yyyy I think.

This is a fresh install, so no sneaky configuration manipulation has been done.

more options

So obviously, Thunderbird is not fetching date format from my OS or the wrong one, or displaying the hardcoded default one. Reminder : this is a fresh install with no configuration done, it is stock Fedora 23.

more options

[islandil@localhost ~]$ timedatectl

     Local time: Wed 2017-01-25 14:49:16 CET
 Universal time: Wed 2017-01-25 13:49:16 UTC
       RTC time: Wed 2017-01-25 13:49:16
      Time zone: Europe/Paris (CET, +0100)
Network time on: yes

NTP synchronized: yes

RTC in local TZ: no
more options

There are some preferences that TB uses to choose the time and date format. Do you have a French TB? If that's the case, it should probably have set the prefs to the right value.

See this Mozillazine kb for more info about the settings.

I think that maybe the setting of your locale might also matter. Check the pref intl.locale.matchOS if it is set to true. If yes, TB follows the OS, if not, it checks general.useragent.locale.

more options

intl.locale.matchOS is set to true general.useragent.locale is set to en-US

If I understand correctly I cannot have a Thunderbird in English and date/time format following Paris time zone ?

My OS is set to have English language but French format for date and time : 24h and dd/mm/yyyy

more options

Thunderbird can do that, but I'm not sure about the Calendar…

Do you have the built-in Calendar that was shipped with Thunderbird, or did you install Lightning by yourself?

The built-in one only has English locale as it was shipped with English Thunderbird. It *might* help to de-install that and to install Lightning from the Add-ons manager.

more options

I have the built-in Calendar. I don't think it is a problem from Calendar/Lightning. Because emails are also showing mm/dd/yyyy and am/pm format.

more options

選擇的解決方法

Did you check the KB article, specifically Configuring the date/time system settings on your computer ? By starting Thunderbird with the variable LC_TIME set to fr it should use French date/time, as I understand it.

Try the following command to start TB: (export LC_TIME=fr; thunderbird)

more options

Sorry I missed it. It solve my issue. Just need to launch Thunderbird from a script with this export beforehand. (used fr_FR for LC_TIME value) Thank you for your help

more options

Great, I'm glad your issue is solved!