From: Miklos Vajna Date: Wed, 02 Dec 2009 20:33:51 GMT Subject: Re: [PATCH] builtin-commit: add --date option Message-ID: <20091202203351.GB31763@genesis.frugalware.org> In-Reply-To: <20091202192425.GC30778@coredump.intra.peff.net> On Wed, Dec 02, 2009 at 02:24:25PM -0500, Jeff King wrote: > On Wed, Dec 02, 2009 at 09:35:48AM -0800, Junio C Hamano wrote: > > > > Is there any documentation describing what does parse_date() accept? > > [...] > > The above are all supported (you can label 2 as ISO even though the > > official ISO8601 wants "T" instead of " " between date and time). > > > > For more amusing ones, see > > > > http://article.gmane.org/gmane.comp.version-control.git/12241 > > > > and follow the discussion there ;-) > > Aren't the amusing ones the result of approxidate, and not parse_date? > At least that is my recollection from working on the date code when I > ate 30 hot dogs last August. I think you are right, at least --date="2008-12-02 18:04:00" works here, but not --date="teatime".