Re: add UTC option for pretty-formats
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 8, 2010, 08:41 UTC
- Message-ID
- <20101108084150.GB2430@burratino>
- In-Reply-To
- <AANLkTikN_B-bUTyy5440AVwTD=KkUWdkf_ukRszTuhYG@mail.gmail.com>
Hi Jeff,
Jeff Carr wrote:
Show 7 quoted lines
> --- 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?