From: Matt Lundin <mdl@imapmail.org>
To: Benny Simonsen <benny@slbs.dk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Exporting calender to ical
Date: Wed, 12 Aug 2015 21:45:53 -0500 [thread overview]
Message-ID: <87egj7sy72.fsf@fastmail.fm> (raw)
In-Reply-To: <CABFHgZ_1S6KEMu8c9GGcucvjh1Ot6_rqd4NqeFazY4LpenzjDw@mail.gmail.com> (Benny Simonsen's message of "Mon, 10 Aug 2015 17:29:17 +0200")
Benny Simonsen <benny@slbs.dk> 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
next prev parent reply other threads:[~2015-08-13 2:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 15:29 Exporting calender to ical Benny Simonsen
2015-08-13 2:45 ` Matt Lundin [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-13 5:08 Benny Simonsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egj7sy72.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=benny@slbs.dk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).