From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: The icalender export does not appear to support the new time ranges feature Date: Mon, 2 Jul 2007 12:36:14 +0200 Message-ID: <7a111384f0a18b3578bd3ccda0563a70@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5JGR-0003Oz-9g for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 06:36:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5JGQ-0003Ns-5x for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 06:36:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5JGP-0003NC-Q4 for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 06:36:13 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5JGP-0001F7-BY for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 06:36:13 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vagn Johansen Cc: emacs-orgmode@gnu.org 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 > Emacs-orgmode@gnu.org > 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