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: Mon, 24 Jul 2023 07:13:56 +0000

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

>> You can increase `icalendar-export-sexp-enumeration-days' to get the 
>> anniversary occurrences exported up to that number of days ahead.
>
> The variable `icalendar-export-sexp-enumeration-days` is indeed set to 14.   
> However, even entries of the form 
>
>     * Test 1
>     %%(org-anniversary 2023 07 22) Test1
>     * Test 2
>     %%(org-anniversary 2023 07 24) Test2
>
> do not get exported today (2023 07 23).  

Sure. Because anniversaries count from 1 year, not from 0.
Try 

* Test 1
%%(org-anniversary 2022 07 23) Test1
* Test 2
%%(org-anniversary 2022 07 25) Test2 %d

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

You are right. And it also works in icalendar export. (Try the above
example).

-- 
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]