ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

firefox displays wrong time zone

  • 5 ردود
  • 10 have this problem
  • 1 view
  • آخر ردّ كتبه 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.

Read this answer in context 👍 7

All Replies (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: