emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Bug in org-export-icalendar


From: Carsten Dominik
Subject: Re: [Orgmode] Bug in org-export-icalendar
Date: Tue, 11 Nov 2008 17:34:20 +0100

Hi Harri,

yes, only times in time stamps will be used in iCalendar export. Times in the headline are too unpredictable. The agenda uses them as a service because nothing really bad can happen. But if you want consistency across applications, you should define times in a consistent way, i.e. in the stamp.

- Carsten

On Nov 11, 2008, at 2:17 PM, Harri Kiiskinen wrote:

Hi,

when exporting org entries to icalendar files, I noticed a small bug.

Both of these are valid in org-mode and result in similar entries in
the agenda, with the date and time set:

---test.org---
* Thing 16:00-18:00
 <2008-11-11 Tue>
* Another Thing
 <2008-11-11 Tue 16:00-18:00>
---test.org---

makes

--
Tuesday    11 November 2008
              8:00...... ----------------
             10:00...... ----------------
             12:00...... ----------------
             14:00...... ----------------
             16:00...... ----------------
 test:       16:00-18:00 Thing
 test:       16:00-18:00 Another Thing
             18:00...... ----------------
             20:00...... ----------------
--

But when exported (org-export-icalendar-this-file; same behaviour with
org-export-icalendar-combine-agenda-files), the times are set
correctly only in the second, "Another Thing", whereas in the first,
the time period ends up in the description, but not in the DTSTART -
DTEND pair. See example:

---test.ics---
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//Harri Kiiskinen//Emacs with Org-mode//EN
X-WR-TIMEZONE:EET
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: address@hidden
DTSTART;VALUE=DATE:20081111
DTEND;VALUE=DATE:20081112
SUMMARY:Thing 16:00-18:00
DESCRIPTION: <2008-11-11 Tue>
CATEGORIES:test
END:VEVENT
BEGIN:VEVENT
UID: address@hidden
DTSTART:20081111T160000
DTEND:20081111T180000
SUMMARY:Another Thing
DESCRIPTION: <2008-11-11 Tue 16:00-18:00>
CATEGORIES:test
END:VEVENT
END:VCALENDAR
---test.ics---

Best,

Harri K.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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