org-datetree: Fix DATE_TREE search
commit949fc352cb21b070109202e8a62e42e7ea76a030
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 22 Aug 2015 19:40:54 +0000 (22 21:40 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 22 Aug 2015 19:40:54 +0000 (22 21:40 +0200)
tree78c6f85f6f612e7b8558f75b1d54002b377fa876
parent3a6c9f5f06c6c697f43561b39ad87bda31db1c62
org-datetree: Fix DATE_TREE search

* lisp/org-datetree.el (org-datetree-find-date-create): Ignore case and
  discard false positives (e.g., a fake property in an example block).

* testing/lisp/test-org-datetree.el: New file.
lisp/org-datetree.el
testing/lisp/test-org-datetree.el [new file with mode: 0644]