Re: [PATCH 2/2] Document date formats accepted by parse_date()
- From
Jeff King <peff@peff.net>
- Date
- Dec 2, 2009, 22:42 UTC
- Message-ID
- <20091202224206.GC9691@coredump.intra.peff.net>
- In-Reply-To
- <20091203073313.6117@nanako3.lavabit.com>
On Thu, Dec 03, 2009 at 07:33:13AM +0900, Nanako Shiraishi wrote:
> Is there something wrong with 'show'? > > nana.git% ./test-date show '2005-04-07T22:13:13' > 2005-04-07T22:13:13 -> 40 years ago
No. It doesn't call parse_date, but instead accepts a time_t-like "seconds since epoch". I intentionally didn't use parse_date because I didn't want bugs in parse_date to affect 'show' output, to keep testing simple.
-Peff