Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
Open

How can I get 24-hour clock format widgets?

lorry replied
reking67

When opening a new page in Firefox I am shown a few widgets.

It shows the time of sports events and different timezones. But it shows this in a non-local time format - the 12 hour format (so it says 06:00 PM instead of 18:00).

In about:config I found a setting called "browser.newtabpage.activity-stream.widgets.clocks.hourFormat" but what are the acceptable formats to use here? It's not a boolean value, and by default nothing is there. I tried writing 24, HH:mm, and some other things, but didn't notice a difference.

When opening a new page in Firefox I am shown a few widgets. It shows the time of sports events and different timezones. But it shows this in a non-local time format - the 12 hour format (so it says 06:00 PM instead of 18:00). In about:config I found a setting called "browser.newtabpage.activity-stream.widgets.clocks.hourFormat" but what are the acceptable formats to use here? It's not a boolean value, and by default nothing is there. I tried writing 24, HH:mm, and some other things, but didn't notice a difference.

所有回覆 (3)

hi, try in about:config, set browser.newtabpage.activity-stream.widgets.clocks.hourFormat to 24h or a locale like en-GB then restart browser

I discovered that the Clock widget actually has a built in GUI option to switch to 24 hour format. This sets browser.newtabpage.activity-stream.widgets.clocks.hourFormat to "24" and is effective immediately, no restart required.

However, this does not impact the Sports widget, which seems to ignore the setting.

由 reking67 於 修改

hi, it's good that you checked this, the time format settings work for the clock widget. Apparently, the sports widget uses its own time formatting

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題