Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Thunderbird ignores user TZ environment variable

  • 2 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від ajdunevent

more options

On 64 bit Arch Linux, my system's timezone is set to US/Central /etc/localtime -> /usr/share/zoneinfo/US/Central

I work for a company in the US/Eastern time zone so the "work" user account on my computer has the US/Eastern timezone exported as an environment variable in several places (.bashrc, .profile, .xinitrc, .xprofile) export TZ=":/usr/share/zoneinfo/US/Eastern"

In Thunderbird 52 (and earlier) this worked as expected. Starting with Thunderbird 60, the "Date" and "Received" columns are reflecting the system's timezone instead of the user's timezone. The issue persists with a fresh profile.

This is probably related/duplicate of the following question even though the poster's system timezone and TZ variable seem to be in agreement: https://support.mozilla.org/en-US/questions/1229111

Edited to include colon when TZ is pointed to a zoneinfo file per https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html (does not fix the issue, a fixed solution is below, but it is the correct way to do things)

On 64 bit Arch Linux, my system's timezone is set to US/Central /etc/localtime -> /usr/share/zoneinfo/US/Central I work for a company in the US/Eastern time zone so the "work" user account on my computer has the US/Eastern timezone exported as an environment variable in several places (.bashrc, .profile, .xinitrc, .xprofile) export TZ=":/usr/share/zoneinfo/US/Eastern" In Thunderbird 52 (and earlier) this worked as expected. Starting with Thunderbird 60, the "Date" and "Received" columns are reflecting the system's timezone instead of the user's timezone. The issue persists with a fresh profile. This is probably related/duplicate of the following question even though the poster's system timezone and TZ variable seem to be in agreement: https://support.mozilla.org/en-US/questions/1229111 Edited to include colon when TZ is pointed to a zoneinfo file per https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html (does not fix the issue, a fixed solution is below, but it is the correct way to do things)

Змінено ajdunevent

Обране рішення

Exporting the TZ variable to .pam_environment but without the "/usr/share/zoneinfo" part does the trick for me.

So, for example, the relevant part of my work user's .pam_environment shows: TZ=:US/Eastern

Edited to include colon when TZ is pointed to a zoneinfo file per https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

Читати цю відповідь у контексті 👍 0

Усі відповіді (2)

more options

Per version 60 release notes there is a new time adjustment that you may need to address. https://www.thunderbird.net/en-US/thunderbird/60.0/releasenotes/

more options

Вибране рішення

Exporting the TZ variable to .pam_environment but without the "/usr/share/zoneinfo" part does the trick for me.

So, for example, the relevant part of my work user's .pam_environment shows: TZ=:US/Eastern

Edited to include colon when TZ is pointed to a zoneinfo file per https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

Змінено ajdunevent