From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Question on ical2org script Date: Sat, 08 Oct 2011 03:03:14 +0100 Message-ID: <87d3e82qal.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCMUP-0000C4-Ob for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 22:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCMUO-0002nf-Fz for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 22:18:13 -0400 Received: from lo.gmane.org ([80.91.229.12]:48711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCMEA-0008Ke-O6 for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 22:01:26 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RCME4-0004CY-TU for emacs-orgmode@gnu.org; Sat, 08 Oct 2011 04:01:20 +0200 Received: from client-86-25-186-12.bsh-bng-011.adsl.virginmedia.net ([86.25.186.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Oct 2011 04:01:20 +0200 Received: from rasmus by client-86-25-186-12.bsh-bng-011.adsl.virginmedia.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Oct 2011 04:01:20 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I am maintaining my calendar in gcal and org. I have been switching back and forth between Eric's awk script and a python script posted on this list recently. The later contains some bugs. However, I experience two issues with Eric's script. * Repeated events For repeated events only the first occurrence seems to translated. Here is an example: ┏━━━ ┃ BEGIN:VEVENT ┃ DTSTART;TZID=Europe/London:20111012T150000 ┃ DTEND;TZID=Europe/London:20111012T170000 ┃ RRULE:FREQ=WEEKLY;COUNT=9;BYDAY=WE ┃ DTSTAMP:20111008T014417Z ┃ UID:dihhjpn9hrnct6fj00epk9bnls@google.com ┃ CREATED:20111007T222923Z ┃ DESCRIPTION: ┃ LAST-MODIFIED:20111007T222923Z ┃ LOCATION: ┃ SEQUENCE:0 ┃ STATUS:CONFIRMED ┃ SUMMARY:Micro Class ┃ TRANSP:OPAQUE ┃ END:VEVENT ┗━━━ Note line 4. It reads that the event should be repeated weekly nine times. It does not seem to be repeated in the org-file generated by ical2org. Does other experience this as well? * All day events. For me all day events spans two days and are further given a time. Here is an example: ┏━━━ ┃ BEGIN:VEVENT ┃ DTSTART;VALUE=DATE:20111012 ┃ DTEND;VALUE=DATE:20111013 ┃ UID:5oshl25lnn7da5mmog9bbemads@google.com ┃ CREATED:20111007T214920Z ┃ DESCRIPTION: ┃ LAST-MODIFIED:20111007T214920Z ┃ LOCATION: ┃ SEQUENCE:0 ┃ STATUS:CONFIRMED ┃ SUMMARY:exam\, math ┃ TRANSP:TRANSPARENT ┃ END:VEVENT ┗━━━ Which is translated to * exam, math <2011-10-12 Wed 00:00>--<2011-10-13 Thu 00:00> I don't know why Google writes time as ┏━━━ ┃ DTSTART;VALUE=DATE:20111012 ┃ DTEND;VALUE=DATE:20111013 ┗━━━ but the event is on 20111012 only and it might be more correct to translate it to * exam, math <2011-10-12 Wed> which would (correctly) be interpreted as an all-day event in org-agenda. Does anyone else experience this all-day issue? Thanks, Rasmus -- Sent from my Emacs