搜尋 Mozilla 技術支援網站

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

了解更多

Emails displaying wrong time

more options

Ive been searching all over for a solution to this today and can find nothing new on this since the early 2000s. The emails displayed in Thunderbird are all displaying UTC and until today, it had the correct time (Central).

I have verified the following:

1) My system time and timezone Windows 10 settings are correct 2) The Thunderbird options calendar timezone is correct 3) My email can also be read on a web interface that those times are in the correct zone

From those 3, I believe I narrowed the problem down to the client.

An old issue I have found involves the environment variable %TZ%. There are 2 tests suggested that point to this being the case:

1) Running "Date()" in the Thunderbird error console does indicate my timezone being used is UMT.

2) Running 'Components.classes["@mozilla.org/process/environment;1"].getService(Components.interfaces.nsIEnvironment).exists("TZ")' in the error console returns true, which the poster of that test (in 2004) says should return false if things are set properly. That poster does not explain how to change the variable.

Only way I have found to change TZ is by editing autoexec.bat, which no longer exists in Windows 10. I cannot find a setting for it anywhere in the registry. The variable is clearly set somewhere, but how do I change it????

Thank you.

Ive been searching all over for a solution to this today and can find nothing new on this since the early 2000s. The emails displayed in Thunderbird are all displaying UTC and until today, it had the correct time (Central). I have verified the following: 1) My system time and timezone Windows 10 settings are correct 2) The Thunderbird options calendar timezone is correct 3) My email can also be read on a web interface that those times are in the correct zone From those 3, I believe I narrowed the problem down to the client. An old issue I have found involves the environment variable %TZ%. There are 2 tests suggested that point to this being the case: 1) Running "Date()" in the Thunderbird error console does indicate my timezone being used is UMT. 2) Running 'Components.classes["@mozilla.org/process/environment;1"].getService(Components.interfaces.nsIEnvironment).exists("TZ")' in the error console returns true, which the poster of that test (in 2004) says should return false if things are set properly. That poster does not explain how to change the variable. Only way I have found to change TZ is by editing autoexec.bat, which no longer exists in Windows 10. I cannot find a setting for it anywhere in the registry. The variable is clearly set somewhere, but how do I change it???? Thank you.

被選擇的解決方法

Please check something for me and then post info/results.

Menu app icon > Options > General Scroll down to the bottom and click on 'Config Editor' button It will say beware :) In search type: resist Look for this line: privacy.resistFingerprinting Is this set to 'True' ? If yes, please double click on that line to toggle the value to 'False' Then close 'about:config' - top right X

Restart Thunderbird.

從原來的回覆中察看解決方案 👍 1

所有回覆 (7)

more options

Windows 10 has the method of adjusting date time etc. Typically you would type in search 'Date' and select 'Date & Time Settings'. Those setting I'm presuming are correct as computer is showing correct time.

The old method of setting date time settings used prior to Windows 10 is still accessible. I would like you to use the old method of setting the 'Time zone' etc via the 'Control Panel' - see instructions below.

Exit Thunderbird this is important.

On computer In bottom search type 'Control Panel' and choose the 'Control Panel' app. View by: select 'Large icons' Select 'Date & Time' click on 'Change time Zone' select anything - eg: London and then reselect: (UTC-06:00) Central Time (US and Canada) select checkbox for auto adjust clock for DST click on OK

click on OK.

Start thunderbird.

more options

No change. Still displaying UTC in Thunderbird.

more options

Just so we know all is as it should be within Thunderbird itself. Please post some settings: Menu app icon > Options > General Under 'Language & Appearance' section sub section 'Date and Time Formatting' What do you have selected? Post image showing setting.

Menu app icon > Options > Calendar What timezone is selected?

more options

Attached here. Also, during my debugging I tried both settings under the "Date and Time Formatting" section.

由 groovechild2 於 修改

more options

This is the one that has me stumped. I ran Date() immediately after posting those settings to you, but somewhere, something is telling the client to use UTC...

I was about to give up and switch to use Outlook 2019 when I checked if you had responded this morning. I appreciate the time you're taking to help.

more options

選擇的解決方法

Please check something for me and then post info/results.

Menu app icon > Options > General Scroll down to the bottom and click on 'Config Editor' button It will say beware :) In search type: resist Look for this line: privacy.resistFingerprinting Is this set to 'True' ? If yes, please double click on that line to toggle the value to 'False' Then close 'about:config' - top right X

Restart Thunderbird.

more options

Yes! I got excited when I saw it was set to true and when I restarted, it worked.

So from a quick look am I correct in assuming that one of my privacy addons in firefox forces UTC to avoid helping to geolocate me and the setting also affects thunderbird?

Thanks again!

由 groovechild2 於 修改