Re: Wrong time in git-log when using right/ timezone

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Hartlich <wwsgj@...>
Cc: <git@...>
Date: Wednesday, July 18, 2007 - 1:01 pm

On Wed, 18 Jul 2007, Peter Hartlich wrote:

Wow. I just tried:

	git show --raw --date=local

with TZ=CET and TZ=right/Europe/Berlin respectively.

Trippy.

I get:

	commit 9dfdf14b3805e89aa2782458bda15b3dfae24c09
	Author: Junio C Hamano <gitster@pobox.com>
	Date:   Mon Jul 16 01:41:17 2007

for the CET case, but for right/Europe/Berlin I get:

	commit 9dfdf14b3805e89aa2782458bda15b3dfae24c09
	Author: Junio C Hamano <gitster@pobox.com>
	Date:   Mon Jul 16 01:39:54 2007

ie apparently Berlin is in a timezone of its own that is roughly one 
minute and 23 seconds away from CET.

What the *heck*?

I really don't think this is git that is confused: I get the exact same 
thing with "date" too:

	[torvalds@woody git]$ TZ=right/Europe/Berlin date ; TZ=CET date
	Wed Jul 18 18:52:25 CEST 2007
	Wed Jul 18 18:52:48 CEST 2007

so it really *is* the tzdata that says that Berlin is not +0200, and it's 
not even +0159, it's something really strange with fractional minutes away 
from UTC.

What can I say? "Those wacky Germans - they have a wonderful sense of 
humor"?

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Wrong time in git-log when using right/ timezone, Peter Hartlich, (Wed Jul 18, 11:36 am)
Re: Wrong time in git-log when using right/ timezone, Linus Torvalds, (Wed Jul 18, 1:01 pm)
Re: Wrong time in git-log when using right/ timezone, Junio C Hamano, (Wed Jul 18, 4:57 pm)
Re: Wrong time in git-log when using right/ timezone, Alex Riesen, (Wed Jul 18, 4:29 pm)
Re: Wrong time in git-log when using right/ timezone, Julian Phillips, (Wed Jul 18, 1:55 pm)
Re: Wrong time in git-log when using right/ timezone, Linus Torvalds, (Wed Jul 18, 2:19 pm)
Re: Wrong time in git-log when using right/ timezone, Peter Hartlich, (Wed Jul 18, 12:04 pm)