[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Allow relative times in clocktable tstart and tend optio
Re: [O] [PATCH] Allow relative times in clocktable tstart and tend options
Wed, 28 Nov 2012 13:47:32 +0100
Ivan Vilata i Balaguer <address@hidden> writes:
> * lisp/org-clock.el (org-clock-get-table-data): Pass tstart and tend
> time strings through `org-matcher-time` to allow relative times besides
> absolute ones, convert result to encoded time.
> * doc/org.texi (The clock table): Document acceptance of relative times
> in tstart and tend, link to syntax description.
> Inspired in the original relative times proposal by Ilya Shlyakhter,
> this is less invasive and it doesn't modify core functions, thus it
> avoids the original's infinite recursion when hitting normal dates in
> other locations.
Thank you for your patch.
Would you mind providing a (couple) of simple test case(s) (or better,
a complete ert test) for that situation?