# Bug in git-show with "%ai" and "%ci" formats?

3 messages from 2007-10-29 to 2007-10-29. Participants: Wincent Colaiuta, Johannes Schindelin.
Thread: https://gitlist.dev/t/10509

## Wincent Colaiuta, 2007-10-29 13:18

Subject: Bug in git-show with "%ai" and "%ci" formats?
Message-ID: <4A647262-B69A-4DB6-942C-18C45458B169@wincent.com>
URL: https://gitlist.dev/e/4A647262-B69A-4DB6-942C-18C45458B169%40wincent.com

```
Can anybody reproduce the following behaviour? Basically all the  
author and committer date formats documented in the git-show man page  
work except for "%ai" and "%ci". This is with Git 1.5.2.4 running on  
Darwin 9.0.0:

$ git show -s --pretty=format:"%ad"
Sun Oct 28 20:58:39 2007 +0100
$ git show -s --pretty=format:"%aD"
Sun, 28 Oct 2007 20:58:39 +0100
$ git show -s --pretty=format:"%ar"
17 hours ago
$ git show -s --pretty=format:"%at"
1193601519
$ git show -s --pretty=format:"%ai"
%ai
$ git show -s --pretty=format:"%cd"
Sun Oct 28 20:58:39 2007 +0100
$ git show -s --pretty=format:"%cD"
Sun, 28 Oct 2007 20:58:39 +0100
$ git show -s --pretty=format:"%cr"
17 hours ago
$ git show -s --pretty=format:"%ct"
1193601519
$ git show -s --pretty=format:"%ci"
%ci

Cheers,
Wincent

```

## Johannes Schindelin, 2007-10-29 13:32

Subject: Re: Bug in git-show with "%ai" and "%ci" formats?
Message-ID: <Pine.LNX.4.64.0710291331310.4362@racer.site>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0710291331310.4362%40racer.site
In-Reply-To: <4A647262-B69A-4DB6-942C-18C45458B169@wincent.com>

```
Hi,

On Mon, 29 Oct 2007, Wincent Colaiuta wrote:

> Can anybody reproduce the following behaviour? Basically all the author and
> committer date formats documented in the git-show man page work except for
> "%ai" and "%ci". This is with Git 1.5.2.4 running on Darwin 9.0.0:

It was added in v1.5.3-rc2~17.

Usually, it is a good idea to use the documentation which corresponds with 
the git version you are using ;-)

Hth,
Dscho

```

## Wincent Colaiuta, 2007-10-29 14:28

Subject: Re: Bug in git-show with "%ai" and "%ci" formats?
Message-ID: <ED7A9BBE-14D2-4B87-9598-305E3E30C1A2@wincent.com>
URL: https://gitlist.dev/e/ED7A9BBE-14D2-4B87-9598-305E3E30C1A2%40wincent.com
In-Reply-To: <Pine.LNX.4.64.0710291331310.4362@racer.site>

```
El 29/10/2007, a las 14:32, Johannes Schindelin escribió:

> On Mon, 29 Oct 2007, Wincent Colaiuta wrote:
>
>> Can anybody reproduce the following behaviour? Basically all the  
>> author and
>> committer date formats documented in the git-show man page work  
>> except for
>> "%ai" and "%ci". This is with Git 1.5.2.4 running on Darwin 9.0.0:
>
> It was added in v1.5.3-rc2~17.
>
> Usually, it is a good idea to use the documentation which  
> corresponds with
> the git version you are using ;-)

Doh... funny... This was only yesterday; I installed 1.5.2.4  
(stupidly, a typo) and the 1.5.3.4 man pages. If I'd just done a "git  
stash" or something I would've realized that I was using an older  
version...

Cheers,
Wincent

```
