为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!