From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagn Johansen Subject: The icalender export does not appear to support the new time ranges feature Date: Sat, 23 Jun 2007 12:12:23 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I23GT-0004fW-03 for emacs-orgmode@gnu.org; Sat, 23 Jun 2007 06:54:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I23GS-0004ec-FD for emacs-orgmode@gnu.org; Sat, 23 Jun 2007 06:54:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I23GS-0004eM-9S for emacs-orgmode@gnu.org; Sat, 23 Jun 2007 06:54:48 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I23GR-0005rE-KV for emacs-orgmode@gnu.org; Sat, 23 Jun 2007 06:54:47 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1I23Bq-0005Za-1N for emacs-orgmode@gnu.org; Sat, 23 Jun 2007 12:50:02 +0200 Received: from 0x5551567a.adsl.cybercity.dk ([85.81.86.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jun 2007 12:50:02 +0200 Received: from gonz808 by 0x5551567a.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jun 2007 12:50:02 +0200 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: emacs-orgmode@gnu.org 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)." ... ...