Thread (9 messages) flat view 9 messages, 6 authors, 2016-06-15

Re: [PATCH] Add date format --local-zone

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:43:06

Junio C Hamano [off-list ref] wrote:
This adds --local-zone option to log family of commands, to
display timestamps in user's local timezone.

Signed-off-by: Junio C Hamano <redacted>
---

 * I got tired of looking at +0000 timestamps on commits
   imported from CVS at day-job.  Does not seem to break
   existing tests, but I am not sure if this is useful.
Not only is it useful, I'd like to see a way to make it my default!
(By my default here I mean a .gitconfig thing that I can set,
but not making it the git out-of-the-box default.)

I don't like looking at timestamps in other people's timezones.
If git-log is going to go through the motions of performing unicode
translations for my tty, and indent messages, and convert the epoch
seconds to a human readable date, it most certainly can be nice and
put the times into my default frame of reference.  Which is whatever
my congresscritters have decided the time is this month...  ;-)

-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help