all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The icalender export does not appear to support the new time ranges feature
@ 2007-06-23 10:12 Vagn Johansen
  2007-07-02 10:36 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Vagn Johansen @ 2007-06-23 10:12 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-02 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-23 10:12 The icalender export does not appear to support the new time ranges feature Vagn Johansen
2007-07-02 10:36 ` Carsten Dominik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.