[notmuch] [PATCH] Make the date parser nicer
Keith Packard
keithp at keithp.com
Tue Jan 26 09:55:00 PST 2010
On Tue, 26 Jan 2010 12:50:41 +0100, "Sebastian Spaeth" <Sebastian at SSpaeth.de> wrote:
> On Mon, 25 Jan 2010 22:36:35 -0800, Keith Packard <keithp at keithp.com> wrote:
> > Here's some code which further improves date parsing by allowing lots of
> > date formats, including things like "today", "thisweek", ISO and US date
> > formats and month names. You can separate two dates with .. to make a
> > range, or you can just use the default range ("lastmonth" is everything
> > From the 1st of the previous month to the 1st of the current month).
> >
> > I think this fits nicely with your code.
>
> It fit nicely indeed. I have just integrated your date parser into my
> code and sent it as a series of 4 patches based on current cworth
> master. (commits 2565fc6 and 96e11c3 will not compile on their own)
Very cool. Oh, if you've got commits that don't compile on their own,
you should squash them together (or fix it in some other way). Makes
bisecting easier in the future.
Also, cworth is on vacation this week, so we won't be seeing any
merging to master...
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100126/228d26b3/attachment.pgp>
More information about the notmuch
mailing list