Discussion:
tramp, dired, and timezones
(too old to reply)
d***@gmail.com
2013-02-14 20:01:24 UTC
Permalink
I'm a fairly enthusiastic tramp.el user, but there's a quirk that's been bugging me for some time: If I use dired to look at a directory on a remote server, tramp, quite reasonably, assumes that sever is in UTC time, and adjusts all the timestamps to local time. Since our servers are (regrettably) set up in local time, the timestamps in dired are always off by 8 hours, and periodically I managed to get very confused by this.

Is there a switch I can flip somewhere to convince tramp.el to leave timestamps in dired alone?
Michael Albinus
2013-02-21 13:45:01 UTC
Permalink
***@gmail.com writes:

Hi,
Post by d***@gmail.com
I'm a fairly enthusiastic tramp.el user, but there's a quirk that's
been bugging me for some time: If I use dired to look at a directory
on a remote server, tramp, quite reasonably, assumes that sever is in
UTC time, and adjusts all the timestamps to local time. Since our
servers are (regrettably) set up in local time, the timestamps in
dired are always off by 8 hours, and periodically I managed to get
very confused by this.
Is there a switch I can flip somewhere to convince tramp.el to leave
timestamps in dired alone?
Thanks for the heads-up! I have been annoyed by this also, but Germany
is not far away from UTC, so it was not too serious for me ...

I have fixed this in the Tramp and Emacs repositories. You could sync(*)
your Tramp stanza with this, or wait for Tramp 2.2.7, which should be
released latest in March.

(*): Please note, that Tramp lives now in a git repository. See
<http://www.gnu.org/software/tramp/#Obtaining-Tramp>.

Best regards, Michael.

Loading...