From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Exporting calender to ical Date: Wed, 12 Aug 2015 21:45:53 -0500 Message-ID: <87egj7sy72.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPiWn-00075Y-7a for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 22:46:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPiWh-0008I2-DQ for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 22:46:01 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPiWh-0008Hy-7R for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 22:45:55 -0400 In-Reply-To: (Benny Simonsen's message of "Mon, 10 Aug 2015 17:29:17 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Benny Simonsen Cc: emacs-orgmode@gnu.org Benny Simonsen writes: > ** <2015-08-11 12:00> Simple event, default duration > :PROPERTIES: > :ID: 71def5c6-2f7e-4560-88d9-f13187bfd9f8 > :END: How did you produce these timestamps? Org-mode always includes a day of week when it generates a timestamp. E.g., if I adjust the timestamp with shift-up or shift-right, org-mode automatically fixes it to: * <2015-08-11 Tue 12:00> Simple event, default duration > - All subjects have got the timestamp in the subject That said, even with the correct timestamp syntax, I can confirm that org-icalendar-export-to-ics leaves the timestamp in the headline/summary. However, placing the timestamp beneath the headline works fine: * Simple event, default duration <2015-08-11 Tue 12:00> ...results in... --8<---------------cut here---------------start------------->8--- BEGIN:VEVENT DTSTAMP:20150813T023625Z UID:TS1-baefe3e9-6317-4d41-b609-98787e373c81 DTSTART:20150811T120000 DTEND:20150811T140000 SUMMARY:Simple event, default duration DESCRIPTION:<2015-08-11 Tue 12:00> CATEGORIES:inbox END:VEVENT --8<---------------cut here---------------end--------------->8--- > - Duration is the default duration even for even for events with a > time-interval > - Events with time-interval is show double [...] > ** <2015-08-12 12:00>-<2015-08-12 12:59> Event with specified duration > :PROPERTIES: > :ID: d8056b59-c841-451c-b0b7-bbf8e8695838 > :END: I believe this syntax for duration is incorrect. It does not even work with org-mode's agenda. E.g., the agenda line looks like this: inbox: 12:00...... <2015-08-12 >-<2015-08-12 12:59> Event with specified duration The correct syntax for duration is... <2015-08-12 Wed 12:00-12:59> When I use that, the duration exports correctly to ics. See http://orgmode.org/manual/Timestamps.html for more details. Hope this helps. Matt