From: Michael Heerdegen Date: Tue, 17 May 2016 17:25:31 GMT Subject: Re: [Bug] git-log prints wrong unixtime with --date=format:%s Message-ID: <8760ucoaus.fsf@web.de> In-Reply-To: <87vb2d37ea.fsf@web.de> Michael Heerdegen writes: > the command > > git log --pretty=format:%ad --date=format:%s > > displays wrong unixtime values; apparently how much the printed value > differs from the expected value depends on the system's time zone and > whether daylight savings time is enabled or not. Two more comments: - --date=raw seems to work correctly (though the doc tells it would also use "%s"). - When specifying versions like @{N hours}, the result seems to differ (by one hour?) from what I expect, too. Thanks, Michael.