org.el (org-parse-time-string): Parse <+1w> and friends
commite1c491e72de45074206b24eea6170a926858a7ac
authorBastien Guerry <bzg@altern.org>
Sun, 30 Dec 2012 09:27:02 +0000 (30 10:27 +0100)
committerBastien Guerry <bzg@altern.org>
Sun, 30 Dec 2012 09:27:02 +0000 (30 10:27 +0100)
treeaa8282dfee029255bb437233a485bd00beca2685
parent460c4d4ed052329d349ead9476b21d19ab3a0692
org.el (org-parse-time-string): Parse <+1w> and friends

* org.el (org-parse-time-string): Allow strings supported by
tags/properties matcher (eg <now>, <yesterday>, <-7d>).

* test-org.el (test-org/org-parse-time-string): New test.

This is based on Ilya's commit 001bcb9.  This commit was
wrong because active timestamps were not parsed correctly
anymore.  This commit handles them correctly.

Thanks to Ivan Vilata i Balaguer for pushing this forward.
lisp/org.el
testing/lisp/test-org.el