emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] The icalender export does not appear to support the new ti


From: Carsten Dominik
Subject: Re: [Orgmode] The icalender export does not appear to support the new time ranges feature
Date: Mon, 2 Jul 2007 12:36:14 +0200

Fixed, thanks.

- Carsten

On Jun 23, 2007, at 12:12, Vagn Johansen wrote:


The icalender export does not appear to support the new time ranges
feature.

When I export the following to ics via "C-C C-e i"

  ** TODO time range test2 SCHEDULED: <2007-06-30 Sat 16:00-20:00>

I get

  ...
  DTSTART:20070630T160000
  DTEND:20070630T180000
  ..

The range becomes 16-18 becomes org-ical-ts-to-string is hardcoded to
add 2 hours:


(defun org-ical-ts-to-string (s keyword &optional inc)
  "Take a time string S and convert it to iCalendar format.
KEYWORD is added in front, to make a complete line like DTSTART....
When INC is non-nil, increase the hour by two (if time string contains
a time), or the day by one (if it does not contain a time)."
...
...



_______________________________________________
Emacs-orgmode mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477





reply via email to

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