[kmail2] [Bug 361441] Wrong "Date" headers on sent mail; timezone erronously picked up.

David Jobet bugzilla_noreply at kde.org
Tue Nov 29 15:32:26 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=361441

David Jobet <david.jobet at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.jobet at free.fr

--- Comment #1 from David Jobet <david.jobet at free.fr> ---
I'm in England (London).
Unfortunately, my company sets up system to America/New_York and I don't have
sudo rights to change it.
So we use TZ=Europe/London to correct timezone.

Every time I send an email using kmail, the mail is sent with twice the offset.
Example :
$ env | grep TZ
TZ=Europe/London
$ date
jeu. nov. 17 09:37:53 GMT 2016
$ TZ=America/New_York date
jeu. nov. 17 04:38:03 EST 2016

If I send a mail it is sent with time=14:38 (= 04:38 + 5h00 * 2, 5h00 = time
lag between London and New York)

I've played a little bit with TZ before sending an email with kmail.
If I set TZ to America/New_York (-5), mail is sent with New York's time :
correct
If I set TZ to America/Halifax (-4), mail is sent with New York's time + 2
hours : incorrect (should be New York + 1 hour)
If I set TZ to America/Sao_Paulo (-3), mail is sent with New York's time + 4
hours : incorrect (should be New York + 2 hour)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list