From: Jonathan Nieder <jrnieder@gmail.com>
To: Jeff Carr <basilarchia@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: add UTC option for pretty-formats
Date: Mon, 8 Nov 2010 02:41:50 -0600 [thread overview]
Message-ID: <20101108084150.GB2430@burratino> (raw)
In-Reply-To: <AANLkTikN_B-bUTyy5440AVwTD=KkUWdkf_ukRszTuhYG@mail.gmail.com>
Hi Jeff,
Jeff Carr wrote:
> --- a/Documentation/pretty-formats.txt
> +++ b/Documentation/pretty-formats.txt
> @@ -114,6 +114,7 @@ The placeholders are:
> - '%ar': author date, relative
> - '%at': author date, UNIX timestamp
> - '%ai': author date, ISO 8601 format
> +- '%au': author date, UTC
Why not:
TZ=UTC git log --format=%ad --date=local
or something like:
git log --format=%AD(rfc2822,tz=UTC)
? In other words, why should we provide this feature with date=rfc
dates and not date=iso ones?
prev parent reply other threads:[~2010-11-08 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 1:32 add UTC option for pretty-formats Jeff Carr
2010-11-08 8:41 ` Jonathan Nieder [this message]
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=20101108084150.GB2430@burratino \
--to=jrnieder@gmail.com \
--cc=basilarchia@gmail.com \
--cc=git@vger.kernel.org \
/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).