Thanks for the explanation. My limited debugging showed the data may not even be passed from org to icalendar.el ("scheduled: nil" in the entry). But from what you said it won't work anyway regardless.
This is a bit of bummer. As a work around, do you know if there is a way to generate a series of dates / org entries from a diary-sexps? Thanks.
Wanrong On 3/26/2019 2:21 PM, Thomas Plass wrote:
Hi, Wanrong Lin wrote at 10:23 on March 26, 2019: : : * TODO Do this on the second Monday every month : SCHEDULED: <%%(diary-float t 1 2) 19:00-20:30> : : M-x org-icalendar-export-to-ics Org agenda has its own processing of sexps, so its views are correct. The exporter, however, uses icalendar.el for creating the iCal data. Date processing there in `icalendar--convert-float-to-ical' is somewhat arbitrary as per the docstring: "Convert float diary entry to iCalendar format -- partially unsupported! FIXME! DAY from diary-float yet unimplemented. As far as the exported date is concerned, it'll always be today's date as per this comment further down: ;;Start today (yes this is an arbitrary choice): So, bug-gnu-emacs would be the list to post this issue to. Regards Thomas