From: Alex Riesen Date: Sun, 30 Aug 2009 11:17:28 GMT Subject: Re: [PATCH 1/2] Add date formatting and parsing functions relative to a given time Message-ID: <81b0412b0908300417x1b909242hcd13a00587d6d33c@mail.gmail.com> In-Reply-To: <20090830100826.GA31543@coredump.intra.peff.net> On Sun, Aug 30, 2009 at 12:08, Jeff King wrote: > On Sun, Aug 30, 2009 at 11:56:37AM +0200, Alex Riesen wrote: >> >> check_show 630000000 '20.years.ago'? >> (Arbitrary, non-whitespace delimiters, which was an >> advertised feature, to make shell's life easier) > > This part is about checking what show_date produces (the first number is > an offset from now in seconds, and the second is what we expect), so it > always has spaces. > > See the check_approxidate section further down for an example of parsing > what you are talking about. Ah, I see