emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] The icalender export does not appear to support the new time r


From: Vagn Johansen
Subject: [Orgmode] The icalender export does not appear to support the new time ranges feature
Date: Sat, 23 Jun 2007 12:12:23 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

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)."
...
...





reply via email to

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