GNU bug report logs -
#78085
30.1; wrong iCalendar export with diary-float
Previous Next
To reply to this bug, email your comments to 78085 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78085
; Package
emacs
.
(Sun, 27 Apr 2025 09:32:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Timo E." <tengel <at> mailbox.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 27 Apr 2025 09:32:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
the iCalendar export seems wrong when the .org file contains events
with diary-float.
I reported this already to emacs-orgmode <at> gnu.org, but it is not an
issue in Org mode but in 'icalendar--convert-float-to-ical'.
For example, my .org file contains:
* my appointment
%%(diary-float t 6 1) 1st Sat/month
The agenda M-x org-agenda-list shows this event correctly at the first
Saturday per month.
The .ics file created with M-x org-export-dispatch, c (Export to
iCalendar), f (Current file) contains the event
BEGIN:VEVENT
UID:DS1-ddf9e720-3c8a-4b2a-93d8-62dde9cdf5a8
DTSTART;VALUE=DATE:20250418
EXDATE;VALUE=DATE:20250418
RRULE:FREQ=MONTHLY;BYDAY=1SA
SUMMARY:1st Sat/month
END:VEVENT
DSTART and EXDATE are set to the current date. (i.e. the date when the
.ics file is created). I think DSTART should be set to the next first
Saturday of the month. EXDATE is not required, as there are no
exceptions specified.
RFC 5545 says in 3.8.5.3. Recurrence Rule
"The "DTSTART" property value SHOULD be synchronized with the
recurrence rule, if specified. The recurrence set generated with a
"DTSTART" property value not synchronized with the recurrence rule is
undefined."
Thanks
Timo
This bug report was last modified 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.