emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Harri Kiiskinen <harri.kiiskinen@utu.fi>
To: emacs-orgmode@gnu.org
Subject: Bug in org-export-icalendar
Date: Tue, 11 Nov 2008 15:17:22 +0200 (EET)	[thread overview]
Message-ID: <20081111.151722.205822299.harri.kiiskinen@utu.fi> (raw)

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.

             reply	other threads:[~2008-11-11 13:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 13:17 Harri Kiiskinen [this message]
2008-11-11 16:34 ` Bug in org-export-icalendar Carsten Dominik
2008-11-13 14:41   ` Inheritance of LOCATION when exporting ICal (Was: Re: Bug in org-export-icalendar) Harri Kiiskinen
2008-11-14  7:02     ` Carsten Dominik

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=20081111.151722.205822299.harri.kiiskinen@utu.fi \
    --to=harri.kiiskinen@utu.fi \
    --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).