From: Junio C Hamano Date: Wed, 02 Dec 2009 22:54:40 GMT Subject: Re: [PATCH 2/2] Document date formats accepted by parse_date() Message-ID: <7v638p9ebz.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091203073313.6117@nanako3.lavabit.com> Nanako Shiraishi writes: > Is there something wrong with 'show'? > > nana.git% ./test-date show '2005-04-07T22:13:13' > 2005-04-07T22:13:13 -> 40 years ago Heh, you fooled me, and Peff is right. "test-date show" does not interpret its input any way other than as seconds-since-epoch. I agree with the "native->internal" part of the suggestion. What see by default in "git show" output is merely the ctime(3) format followed by timezone. I don't mind if we call that "git native", even though I suspect we do _not have to_ invent new word for that. Also "test-date parse" seems to accept things like these: '2009.04.07 20:21:22 -0000' '04/07/2009 20:21:22 -0000' '07.04.2009 20:21:22 -0000'