From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harri Kiiskinen Subject: Bug in org-export-icalendar Date: Tue, 11 Nov 2008 15:17:22 +0200 (EET) Message-ID: <20081111.151722.205822299.harri.kiiskinen@utu.fi> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzt7b-0006i0-0q for emacs-orgmode@gnu.org; Tue, 11 Nov 2008 08:17:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kzt7Z-0006hE-Fq for emacs-orgmode@gnu.org; Tue, 11 Nov 2008 08:17:30 -0500 Received: from [199.232.76.173] (port=45477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzt7Z-0006h9-BD for emacs-orgmode@gnu.org; Tue, 11 Nov 2008 08:17:29 -0500 Received: from smtp-out-01.utu.fi ([130.232.202.171]:28023) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kzt7Y-0002Px-QD for emacs-orgmode@gnu.org; Tue, 11 Nov 2008 08:17:29 -0500 Received: from localhost (dyn35-122.vpn.utu.fi [130.232.35.122]) by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0KA6006IK7KXRQ30@smtp01.mess.utu.fi> for emacs-orgmode@gnu.org; Tue, 11 Nov 2008 15:17:21 +0200 (EET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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: TS-4tvh2qp0tfe0@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me 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: TS-bgki2qp0tfe0@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me 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.