搜尋 Mozilla 技術支援網站

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

了解更多

firefox displays wrong time zone

  • 5 回覆
  • 10 有這個問題
  • 70 次檢視
  • 最近回覆由 cor-el

more options

Ubuntu 17.10 terminal: date -R Thu, 30 Nov 2017 14:23:05 +0200


Firefox for 58.0b7 (64-bit) console: Date() Thu Nov 30 2017 12:23:05 GMT+0000 (UTC)

Ubuntu 17.10 terminal: date -R Thu, 30 Nov 2017 14:23:05 +0200 Firefox for 58.0b7 (64-bit) console: Date() Thu Nov 30 2017 12:23:05 GMT+0000 (UTC)

被選擇的解決方法

hi, this can happen when you tweak the privacy.resistFingerprinting preference in about:config.

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

所有回覆 (5)

more options

Make sure your system time is synced to Network.

more options

Hi, yes it's synced.. timedatectl status: Local time: Pr 2017-12-04 08:09:56 EET Universal time: Pr 2017-12-04 06:09:56 UTC RTC time: Pr 2017-12-04 06:09:56 Time zone: Europe/Vilnius (EET, +0200) Network time on: yes NTP synchronized: yes RTC in local TZ: no

Chrome Date(): "Mon Dec 04 2017 08:09:56 GMT+0200 (EET)" Firefox Date(): "Mon Dec 04 2017 06:09:56 GMT+0000 (UTC)" Even when I start firefox with TZ=EET firefox I get wrong time.

more options

選擇的解決方法

hi, this can happen when you tweak the privacy.resistFingerprinting preference in about:config.

more options

But what if we would like to resist fingerprinting?

Is there some necessary trade-off to get the correct time zone?

This seems like a bug to me.

more options

When resist fingerprinting is enabled then some settings that are exposed to websites are spoofed. In case of the time this means showing the UTC (GMT) time zone. There are more things affected like the user agent that is set to the current ESR release (52.0) on Windows 7 even though I'm on Linux.

  • Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0

You can check out at the browserspy website how websites see you: