搜尋 Mozilla 技術支援網站

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

Learn More

On certain websites the time is shown in military time whereas when using Safari on the same site it does not. How can I correct it.

  • 3 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

On some message boards it shows military time. Using Safari on the same message boards it shows regular time. I can't find a way to adjust it. Giving you a url example below.

On some message boards it shows military time. Using Safari on the same message boards it shows regular time. I can't find a way to adjust it. Giving you a url example below.

所有回覆 (3)

more options

Hi sybil3366,

This sounds like a website preference and not necessarily a Firefox issue. Have you created a user account on these forums? Usually your preferred time preference can be set in your account preferences page for that website.

Hopefully this helps!

more options

If I go to the website using Safari, it's fine. It shows regular time. If I go to the website using Firefox, it shows military time. It has something to do with Firefox. BTW, there is no preference choices.

more options

How is the (local) time reported?

See:

You can see the current time and time zone if you put "alert(Date());" without the quotes in the Code field at the top of the "Tools > Web Developer > Error Console" window (Cmd+Shift+J) and click the Evaluate button.

  • Use alert((new Date).toLocaleString()); to get the time in your current time zone.
  • Use alert((new Date).toUTCString()); to get the time in UTC (GMT).