From: Junio C Hamano Date: Wed, 25 Apr 2007 19:59:26 GMT Subject: Re: [PATCH] Add date format --local-zone Message-ID: <7vr6q8w7hd.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Wed, 25 Apr 2007, Linus Torvalds wrote: >> >> Ie, it would be better, I think, to use a >> >> --date=local >> --date=relative >> --date=UTC >> ... >> >> kind of syntax, than have each date flag be different ("--relative-date" >> vs "--local-zone"?). Probably. > Btw, when you do "--local-zone", you should drop the TZ printout too, I > think. It doesn't seem to make any sense to give the *wrong* timezone. I do not think the definition of "wrong" is so clear. I would not disagree that showing the authordate in timezone the author was not in means --local-zone is showing a wrong zone, but "show timestamps in _my_ zone" is what the option is specifically asking for. Originally I did it without timezone, but later I found it amusing to see "log --since=2007-03-10 --until=2007-03-12". Note: in TZ=US/Pacific you would see -0700 and -0800 during the above commit-time range.