Michael Heerdegen <[email protected]> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html