Re: Bug in git-log --date=short --pretty=format:"%ad"

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

 



Christophe GRENIER <grenier@xxxxxxxxxxxxxx> writes:

> According to the git-log man page, we can configure how date are
> displayed:
>
> --date={relative,local,default,iso,rfc}
>   Only takes effect for dates shown in human-readable format,
>   such as when using "--pretty".
>
> But it doesn't work when a user supplied format is used:

Sorry, in theory, perhaps they could, but it doesn't and it never did.
The output is working as designed and intended.

You probably could send a patch to add %aT and %cT that are defined as
"author/committer date in the format specified with --date=<this> option";
but "%ad" and "%cd" are defined to emit "author/committer date always in
the default format".
--
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]

  Powered by Linux