git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Add date format --local-zone
Date: Wed, 25 Apr 2007 02:44:51 -0400	[thread overview]
Message-ID: <20070425064451.GF5942@spearce.org> (raw)
In-Reply-To: <1177482982542-git-send-email-junkio@cox.net>

Junio C Hamano <junkio@cox.net> 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 <junkio@cox.net>
> ---
> 
>  * 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.

  reply	other threads:[~2007-04-25  6:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25  6:36 [PATCH] Add date format --local-zone Junio C Hamano
2007-04-25  6:44 ` Shawn O. Pearce [this message]
2007-04-25 12:40 ` Johannes Schindelin
2007-04-25 15:03 ` Linus Torvalds
2007-04-25 15:22   ` Linus Torvalds
2007-04-25 19:59     ` Junio C Hamano
2007-04-25 20:12     ` Alex Riesen
2007-04-25 20:30       ` Junio C Hamano
2007-04-25 20:41         ` Alex Riesen
2007-04-25 21:02           ` Junio C Hamano
2007-04-26  4:56   ` [PATCH 1/2] Add --date={local,relative,default} Junio C Hamano
2007-04-26  6:54     ` David Kågedal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070425064451.GF5942@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).