X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

Thunderbird shows wrong time in date column with correct date header

Pridané

Arch Linux, TB 60.0

In the date column of any folder in any mail account the date is shown incorrectly (-1h). The date and received headers are correct for all mails and the date is correctly shown in the preview pane. I would say that TB does not add the DST, because my timezone is CEST (+0200), but the date is shown for (+0100).

Settings: Regional settings locale for date and time formatting with: LANG=en_US.utf8 LC_TIME=de_DE.utf8

Things I have already tried: - Date() in the JavaScript console shows the correct time and date - Changing the display format to application locale does nothing except now I can see the wrong time in an am/pm format - Setting mailnews.customDBHeaders to 'Received' did not change anything

Arch Linux, TB 60.0 In the date column of any folder in any mail account the date is shown incorrectly (-1h). The date and received headers are correct for all mails and the date is correctly shown in the preview pane. I would say that TB does not add the DST, because my timezone is CEST (+0200), but the date is shown for (+0100). Settings: Regional settings locale for date and time formatting with: LANG=en_US.utf8 LC_TIME=de_DE.utf8 Things I have already tried: - Date() in the JavaScript console shows the correct time and date - Changing the display format to application locale does nothing except now I can see the wrong time in an am/pm format - Setting mailnews.customDBHeaders to 'Received' did not change anything

Vybrané riešenie

Try exporting your TZ variable in .pam_environment and do NOT include "/usr/share/zoneinfo", just the zone/subzone.

So, for your specific set up, try adding this to your ~/.pam_environment: TZ=:Europe/Berlin

Another option that should work is to add "export TZ=:Europe/Berlin" to your launcher for Thunderbird.

I assume the package maintainer for Arch Linux will probably find some way to not need this workaround at some point.

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

Čítať túto odpoveď v kontexte 0
Citácia

Ďalšie informácie o systéme

Aplikácie

  • Identifikácia prehliadača: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Viac informácií

Matt
  • Top 10 Contributor
  • Moderator
2988 riešení 20257 odpovedí

check the TZ environment variable.

check the TZ environment variable.
Pomohlo vám to?
Citácia

Autor otázky

timedatectl status gives me:

Local time: So 2018-08-12 10:18:46 CEST
Universal time: So 2018-08-12 08:18:46 UTC
RTC time: So 2018-08-12 08:18:51
Time zone: Europe/Berlin (CEST, +0200)

and echo $TZ shows

/usr/share/zoneinfo/Europe/Berlin
timedatectl status gives me: Local time: So 2018-08-12 10:18:46 CEST Universal time: So 2018-08-12 08:18:46 UTC RTC time: So 2018-08-12 08:18:51 Time zone: Europe/Berlin (CEST, +0200) and echo $TZ shows /usr/share/zoneinfo/Europe/Berlin
Pomohlo vám to?
Citácia
ajdunevent 2 riešení 3 odpovedí

I've posted about a similar issue that may be related: https://support.mozilla.org/en-US/questions/1230579

I've posted about a similar issue that may be related: https://support.mozilla.org/en-US/questions/1230579
Pomohlo vám to?
Citácia
ajdunevent 2 riešení 3 odpovedí

Vybrané riešenie

Try exporting your TZ variable in .pam_environment and do NOT include "/usr/share/zoneinfo", just the zone/subzone.

So, for your specific set up, try adding this to your ~/.pam_environment: TZ=:Europe/Berlin

Another option that should work is to add "export TZ=:Europe/Berlin" to your launcher for Thunderbird.

I assume the package maintainer for Arch Linux will probably find some way to not need this workaround at some point.

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

Try exporting your TZ variable in .pam_environment and do '''NOT''' include "/usr/share/zoneinfo", just the zone/subzone. So, for your specific set up, try adding this to your ~/.pam_environment: TZ=:Europe/Berlin Another option that should work is to add "export TZ=:Europe/Berlin" to your launcher for Thunderbird. I assume the package maintainer for Arch Linux will probably find some way to not need this workaround at some point. 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

Upravil(a) ajdunevent dňa

Pomohlo vám to?
Citácia

Autor otázky

That worked. Thanks a lot.

That worked. Thanks a lot.
Pomohlo vám to?
Citácia
Položiť otázku

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.