From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Persaud Subject: Re: ical2org (better timezone recognition and better default for max_age option) Date: Wed, 16 Feb 2011 23:30:39 -0800 Message-ID: <4D5CCE9F.4000309@lbl.gov> References: <4D490193.8070708@lbl.gov> <87k4hionz0.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpyK6-0004WI-5f for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 02:30:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpyK5-0000Gq-3h for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 02:30:46 -0500 Received: from ironport4.lbl.gov ([128.3.41.45]:50953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpyK4-0000Gh-Rg for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 02:30:45 -0500 Received: by gya6 with SMTP id 6so954398gya.39 for ; Wed, 16 Feb 2011 23:30:42 -0800 (PST) In-Reply-To: <87k4hionz0.fsf@pinto.chemeng.ucl.ac.uk> 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 Hi >>[option to ignore entries older than N days] > Very useful option! Thanks. > > I would be tempted to make the default ignore any old events. Any > thoughts on this? I changed it to ignore everything older than one week. I also updated the timezone parsing a bit after reading part of section 4.3.5 of RFC2445 (ical). There seem to be 3 ways to specify a timezone date+T+time floating timezone=> assume local time date+T+timeZ always UTC TZID=;date+T+time time given in timezone ical2org should now parse the first two correctly. Let me know in case this doesn't work correctly. If I have more time, I'll play with the third timezone spec too... cheers Arun