[GH-ISSUE #4696] libreWolf: cannot detect local timezone #2751

Closed
opened 2026-05-05 09:24:53 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @Lonniebiz on GitHub (Nov 17, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4696

firejail version 0.9.64.4

Librewolf 94.0-1 AppImage:
https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/94.0-1/LibreWolf.x86_64.AppImage

Librewolf profile:
https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/librewolf.profile

Command:
firejail --appimage --profile=/home/user/.config/firejail/librewolf.profile /path/to/AppImages/LibreWolf.x86_64.AppImage

My issue is that Librewolf doesn't know my local timezone. I verified that by going here with LibreWolf.
This causes web-email-clients to report the wrong time for when messages were sent and received.

I probably just need to edit the profile to allow the browser to see my timezone, but I'm not sure how to do that.

Originally created by @Lonniebiz on GitHub (Nov 17, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4696 firejail version 0.9.64.4 **Librewolf 94.0-1 AppImage:** [https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/94.0-1/LibreWolf.x86_64.AppImage](https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/94.0-1/LibreWolf.x86_64.AppImage) **Librewolf profile:** [https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/librewolf.profile](https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/librewolf.profile) **Command:** `firejail --appimage --profile=/home/user/.config/firejail/librewolf.profile /path/to/AppImages/LibreWolf.x86_64.AppImage` My issue is that Librewolf doesn't know my local timezone. I verified that by going [here](http://browserspy.dk/date.php) with LibreWolf. This causes web-email-clients to report the wrong time for when messages were sent and received. I probably just need to edit the profile to allow the browser to see my timezone, but I'm not sure how to do that.
gitea-mirror 2026-05-05 09:24:53 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@SkewedZeppelin commented on GitHub (Nov 17, 2021):

I'm pretty sure that is because Librewolf enables privacy.resistFingerprinting
not because of firejail.

<!-- gh-comment-id:970983599 --> @SkewedZeppelin commented on GitHub (Nov 17, 2021): I'm pretty sure that is because Librewolf enables privacy.resistFingerprinting not because of firejail.
Author
Owner

@rusty-snake commented on GitHub (Nov 18, 2021):

WFM

$ date +%Z
CET
$ firejail --quiet --profile=librewolf date +%Z
CET
$ firejail --quiet --profile=librewolf --blacklist=/etc/localtime date +%Z
UTC

You can try to env TZ=CST6CDT but RFP will just override it.

<!-- gh-comment-id:972719301 --> @rusty-snake commented on GitHub (Nov 18, 2021): WFM ```console $ date +%Z CET $ firejail --quiet --profile=librewolf date +%Z CET $ firejail --quiet --profile=librewolf --blacklist=/etc/localtime date +%Z UTC ``` You can try to `env TZ=CST6CDT` but RFP will just override it.
Author
Owner

@simon-ging commented on GitHub (Jan 2, 2025):

One way to fix the timezone in Librewolf is to disable resistFingerprinting, instead enable fingerprintingProtection, and override the settings there. Librewolf does not recommend this since it goes against the entire point of RFP as they explain here. However if you absolutely want to change it, you can do it like this in about:config

privacy.resistFingerprinting = false
privacy.fingerprintingProtection = true
privacy.fingerprintingProtection.overrides = +AllTargets,-JSDateTimeUTC
<!-- gh-comment-id:2567605797 --> @simon-ging commented on GitHub (Jan 2, 2025): One way to fix the timezone in Librewolf is to disable resistFingerprinting, instead enable fingerprintingProtection, and override the settings there. Librewolf does not recommend this since it goes against the entire point of RFP as they explain [here](https://librewolf.net/docs/faq/#what-are-the-most-common-downsides-of-rfp-resist-fingerprinting). However if you absolutely want to change it, you can do it like this in about:config ``` privacy.resistFingerprinting = false privacy.fingerprintingProtection = true privacy.fingerprintingProtection.overrides = +AllTargets,-JSDateTimeUTC ```
Author
Owner

@pjotrek-b commented on GitHub (Nov 7, 2025):

I'm happy to have found this thread!

I understand why one wants RFP - but in this very short time I've switched to LibreWolf's I've spent already several hours - today again - debugging "weird issues" just to find out, again it's - because of the browser claiming a plain-wrong timezone.

(@simon-ging: Thanks for the options to take timezone-spoofing out of fingerprintingProtection, btw.)

I've found some threads mentioning "privacy.resistFingerprinting.exemptedDomains", which led me to this:
Apply fine-grained control of the RFP Timezone Spoofing, which mentions this (marked as RESOLVED -> fixed):

We're introducing a new pref: privacy.resistFingerprinting.testing.setTZtoUTC. When this pref is false (as it is on Nightly) we will no longer set the TZ enviroment variable, which is how we previously made the browser spoof timezones.

Haven't tried it yet.

<!-- gh-comment-id:3501434636 --> @pjotrek-b commented on GitHub (Nov 7, 2025): I'm happy to have found this thread! I understand why one wants RFP - but in this very short time I've switched to LibreWolf's I've spent already several hours - today **again** - debugging "weird issues" just to find out, again it's - because of the browser claiming **a plain-wrong timezone**. (@simon-ging: Thanks for the options to take timezone-spoofing out of fingerprintingProtection, btw.) I've found some threads mentioning "privacy.resistFingerprinting.exemptedDomains", which led me to this: [Apply fine-grained control of the RFP Timezone Spoofing](https://bugzilla.mozilla.org/show_bug.cgi?id=1709867#c21), which mentions this (marked as `RESOLVED -> fixed`): > We're introducing a new pref: privacy.resistFingerprinting.testing.setTZtoUTC. When this pref is false (as it is on Nightly) we will no longer set the TZ enviroment variable, which is how we previously made the browser spoof timezones. Haven't tried it yet.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2751
No description provided.