[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time zone trouble without time zones being involved

From: Michael Heerdegen
Subject: Re: Time zone trouble without time zones being involved
Date: Wed, 13 Apr 2016 18:14:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Hi Yuri,

sorry for the delay...

> Let’s determine which.


> 1. Mark the current UTC time, both as a human-readable string and as a
> unixtime value (e.g. on GNU, “date --utc --rfc-3339=seconds” and “date
> +%s”, respectively).
> 2. Make a commit.
> 3. Execute the same command, “git log --pretty=format:%ad
> --date=format:%s -n1”.
> 4. Evaluate (current-time) and convert the first two elements of the
> resulting 4-element list to unixtime.
> 5. Check that the three unixtime values from steps 1, 3 and 4 are
> reasonably close.

I'm not sure how to do 4.  However, 1. and 3. already give me a
difference of ~ 60*60.

What does this tell us?

> 6. By the way, which OS are you on?

uname -a => "Linux drachen 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1
(2016-03-17) x86_64 GNU/Linux".  Mostly Debian testing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]