org-mode/testing/examples/agenda-file.org
Ihor Radchenko d9bf64f064
org-agenda: Match timestamps inside node properties
* lisp/org-agenda.el (org-agenda-get-timestamps): Use
`org-at-timestamp-p' instead of org-element to check if at valid
timestamp.  Agenda should consider timestamps inside node properties
even though they are not parsed by org-element.

* testing/lisp/test-org-agenda.el (test-org-agenda/property-timestamp):
Add new test checking active timestamp inside property drawer.

* testing/examples/agenda-file.org (test timestamp inside properties):
Add heading for `test-org-agenda/property-timestamp'.

Reported in https://list.orgmode.org/06d301d83d9e$f8b44340$ea1cc9c0$@tomdavey.com
2022-03-22 17:37:47 +08:00

23 lines
462 B
Org Mode

* Test Agenda
<2017-03-10 Fri>
* test agenda
SCHEDULED: <2017-07-19 Wed>
** subnote
* test code 216bc1ff1d862e78183e38ee9a4da504919b9878
<2019-01-08 Tue>
* test agenda non-scheduled
#+begin_src org
SCHEDULED: <2022-01-03 Mon>
#+end_src
* colon scheduled entry
: SCHEDULED: <2022-01-03 Mon>
* begin_example scheduled entry
#+begin_example
SCHEDULED: <2022-01-03 Mon>
#+end_example
* test timestamp inside properties
:PROPERTIES:
:CREATED: <2022-03-22 Tue>
:END: