emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arun Persaud <apersaud@lbl.gov>
To: emacs-orgmode@gnu.org
Subject: Re: ical2org (better timezone recognition and better default for max_age option)
Date: Wed, 16 Feb 2011 23:30:39 -0800	[thread overview]
Message-ID: <4D5CCE9F.4000309@lbl.gov> (raw)
In-Reply-To: <87k4hionz0.fsf@pinto.chemeng.ucl.ac.uk>

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=<timezone>;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

  reply	other threads:[~2011-02-17  7:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  7:02 ical2org Arun Persaud
2011-02-02  8:11 ` ical2org Eric S Fraga
2011-02-17  7:30   ` Arun Persaud [this message]
2011-02-23 20:22     ` ical2org (better timezone recognition and better default for max_age option) Eric S Fraga
2011-02-23 20:28       ` Arun Persaud
2011-02-23 20:44         ` Eric S Fraga

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=4D5CCE9F.4000309@lbl.gov \
    --to=apersaud@lbl.gov \
    --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).