搜尋 Mozilla 技術支援網站

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

了解更多

Firefox shows the time wrong by an hour. My pc is correct, ResistFingerprints is OFF.

more options

As the title says, firefox is showing the time wrong by an hour in many/all websites.

-PC time is correct -ResistFingerprints is OFF -Firefox is fully updated -No VPN or any plugins that affect timezone or hide it

Time is going straight from the pc to the websites. My timezone is Berlin, yet when writing emails it shows the "draft saved at" an hour earlier than it actually is. Timezone on the email account is set to Berlin. Firefox gets the time from the PC, the PC's time is set automatically by the internet. The PC has no issue fetching the correct time and the battery on the motherboard is fine. Other browsers seem to have this problem too, but I cant figure out why.

As the title says, firefox is showing the time wrong by an hour in many/all websites. -PC time is correct -ResistFingerprints is OFF -Firefox is fully updated -No VPN or any plugins that affect timezone or hide it Time is going straight from the pc to the websites. My timezone is Berlin, yet when writing emails it shows the "draft saved at" an hour earlier than it actually is. Timezone on the email account is set to Berlin. Firefox gets the time from the PC, the PC's time is set automatically by the internet. The PC has no issue fetching the correct time and the battery on the motherboard is fine. Other browsers seem to have this problem too, but I cant figure out why.

所有回覆 (4)

more options

Is the timezone set correctly ?

You can see the current time and time zone if you paste this code in the command line of the Web Console (Web Developer -> Web Console; Ctrl+Shift+K). Paste each of these one at the time in the command line and press Enter to see the result.

  • (new Date()).toLocaleString("en-US",{weekday:"long",day:"numeric",month:"long",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:false,timeZoneName:"short"});
  • (new Date()).getTimezoneOffset(); //offset in minutes: hours*60
more options

cor-el said

Is the timezone set correctly ? You can see the current time and time zone if you paste this code in the command line of the Web Console (Web Developer -> Web Console; Ctrl+Shift+K). Paste each of these one at the time in the command line and press Enter to see the result.
  • (new Date()).toLocaleString("en-US",{weekday:"long",day:"numeric",month:"long",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:false,timeZoneName:"short"});
  • (new Date()).getTimezoneOffset(); //offset in minutes: hours*60

This is the result I got. I hope this is readable.

more options

I assume that this shows the correct time for Berlin (GMT+2;l offset:-120).

What website(s) show the wrong time ?

more options

cor-el said

I assume that this shows the correct time for Berlin (GMT+2;l offset:-120). What website(s) show the wrong time ?

That is correct. Email, and roll20 are the ones iv noticed are displaying the wrong time. its an hour too early