emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Exporting calender to ical


From: Matt Lundin
Subject: Re: [O] Exporting calender to ical
Date: Wed, 12 Aug 2015 21:45:53 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Benny Simonsen <address@hidden> 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



reply via email to

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