From mboxrd@z Thu Jan 1 00:00:00 1970 From: thunk2@arcor.de (Thomas Plass) Subject: Re: Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file) Date: Tue, 26 Mar 2019 19:21:44 +0100 Message-ID: <23706.28088.983119.50420@AGAME7.local> References: <51338C37.9020604@gmail.com> <87li8qfrrv.fsf@bzg.ath.cx> Reply-To: Thomas Plass Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8qi6-0003MZ-Tm for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 14:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8qi6-0001A5-3Z for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 14:22:06 -0400 Received: from mx009.vodafonemail.xion.oxcs.net ([153.92.174.39]:9851) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h8qi5-00019G-Qo for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 14:22:06 -0400 In-Reply-To: Your message of Tuesday, March 26 2019 10:23:08 (ID: ). List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Wanrong Lin Cc: emacs-orgmode@gnu.org Hi, Wanrong Lin wrote at 10:23 on March 26, 2019: :=20 : * TODO Do this on the second Monday every month : =A0 SCHEDULED: <%%(diary-float t 1 2) 19:00-20:30> :=20 : 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 unsupport= ed! 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