Re: [Bug] git-log prints wrong unixtime with --date=format:%s

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

 



On Wed, May 18, 2016 at 12:44:43PM -0400, Randall S. Becker wrote:

> Off the wall: Dealing in a dispersed team sharing a server that has a
> timezone local for only two of the members, git log messes with me also from
> a TZ POV. I would like to suggest a more general solution, like configuring
> my own TZ in ~/.gitconfig which would potentially allow an override on the
> command line. Would user.timezone be helpful in this situation and if set,
> call setenv("TZ=...")? It's not an issue when I'm local, but if I touch a
> clone on the server, even I get confused around DST changes in October ;).

I'm not sure I understand the problem. If you don't like the local
timezone used on the server, why don't you set TZ there? What does
it buy us to introduce a git config option to do the same thing?

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]