emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3


From: Ihor Radchenko
Subject: Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)]
Date: Fri, 21 Jul 2023 12:53:55 +0000

Marcus Zibrowius <marcus.zibrowius@posteo.net> writes:

> I have an org-file with entries of the form
>
> * Abel's birthday party
>   <2023-11-13>
>
> and with entries of the form
>
> * Abel Jacobi
> %%(org-anniversary 1978 11 11) Abel %d
>
> Both types of events show up in my agenda view in emacs. However, when I
> export to ics (e.g. org-export-dispatch > [c] Export to icalendar > [f]
> Current file), only the former type of entries is included in the
> resulting ics-file.

This is because Emacs diary only looks
`icalendar-export-sexp-enumeration-days' days ahead from now when
exporting non-standard diary sexps. By default, it is 2 weeks.
So, you would see the anniversary in icalendar if it were 2 weeks from
now.

You can increase `icalendar-export-sexp-enumeration-days' to get the
anniversary occurrences exported up to that number of days ahead.

Also, `org-anniversary' does not support %d. AFAIK, it is only working
for built-in sexp types, which are handled specially.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]