Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox ignoring system timezone

  • 5 отговора
  • 0 имат този проблем
  • 1 изглед
  • Последен отговор от Felipe Silva

more options

Firefox 115.0b7 is not correctly handling my system timezone, and using GMT instead. This only happens in specific pages, such as when accessing a website, or in `about:home`. It doesn't happen in `about:config` or `about:profiles`, for instance.

`privacy.resistFingerprinting` is set to `false`. The problem persists in Troubleshoot mode. The issue isn't present in Firefox ESR 102.12.0.

Running `date -R` with the system shell: `Sat, 22 Jul 2023 12:10:42 -0300`

Javascript console at `about:config`: ``` > Date() "Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time)" > new Date() Date Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time) > (new Date()).getTimezoneOffset() 180 ```

Javascript console at `about:home` or `https://example.com`: ``` > Date() "Sat Jul 22 2023 15:10:42 GMT+0000 (GMT)" > new Date() Date Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time) > (new Date()).getTimezoneoffset() 0 ```

Firefox 115.0b7 is not correctly handling my system timezone, and using GMT instead. This only happens in specific pages, such as when accessing a website, or in `about:home`. It doesn't happen in `about:config` or `about:profiles`, for instance. `privacy.resistFingerprinting` is set to `false`. The problem persists in Troubleshoot mode. The issue isn't present in Firefox ESR 102.12.0. Running `date -R` with the system shell: `Sat, 22 Jul 2023 12:10:42 -0300` Javascript console at `about:config`: ``` > Date() "Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time)" > new Date() Date Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time) > (new Date()).getTimezoneOffset() 180 ``` Javascript console at `about:home` or `https://example.com`: ``` > Date() "Sat Jul 22 2023 15:10:42 GMT+0000 (GMT)" > new Date() Date Sat Jul 22 2023 12:10:42 GMT-0300 (Brasilia Standard Time) > (new Date()).getTimezoneoffset() 0 ```

Избрано решение

Apparently, this problem is exclusive to NixOS and is being tracked here.

Прочетете този отговор в контекста 👍 0

Всички отговори (5)

more options

Hi

Instead of using a Beta version of Firefox, what happens when you use the current Release version?

more options

Do you have enabled "Resist Fingerprinting" if you check this pref on the about:config page as that places you in the UTC timezone?

more options

Visit about:config, search for "fingerprint" and reset all bold modified settings to default.

more options

The issue also happens with Firefox 115.0.2 (latest release version). Resist Fingerprinting is disabled, and all fingerprint-related options are set to default.

Additionally, I'm using NixOS: nixpkgs is set to `nixos-unstable` (commit 12303c65), with package `firefox` (v115.0.2).

more options

Избрано решение

Apparently, this problem is exclusive to NixOS and is being tracked here.