Re: add UTC option for pretty-formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]