When you have:
(setq org-agenda-include-diary t)
set, then an entry in the ~/diary
file like this:
%%(org-anniversary 1950 02 14) Bob's %d%s birthday
displays as:
Diary: Bob's 65th birthday
in the Org agenda.
How do I get the same effect - reporting the number of repetitions whether it be measured in years or days or whatever - using normal Org syntax in an .org
file so that I can also take advantage of other Org features such as TODOs etc?
None of the following expand the %d
or %s
:
* Bob's %d%s birthday
<1950-02-14 Tue +1y>
* Bob's %d%s birthday
<%%(org-anniversary 1950 02 14) Bob's %d%s birthday>
* Bob's %d%s birthday
<%%(org-anniversary 1950 02 14)> Bob's %d%s birthday