firefox displays wrong time zone
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)
Make sure your system time is synced to Network.
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.
選擇的解決方法
hi, this can happen when you tweak the privacy.resistFingerprinting preference in about:config.
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.
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: