emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vagn Johansen <gonz808@hotmail.com>
To: emacs-orgmode@gnu.org
Subject: The icalender export does not appear to support the new time ranges feature
Date: Sat, 23 Jun 2007 12:12:23 +0200	[thread overview]
Message-ID: <m2myyr0yk8.fsf@hotmail.com> (raw)


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	other threads:[~2007-06-23 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-23 10:12 Vagn Johansen [this message]
2007-07-02 10:36 ` The icalender export does not appear to support the new time ranges feature 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=m2myyr0yk8.fsf@hotmail.com \
    --to=gonz808@hotmail.com \
    --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).