From: Simon Thum <simon.thum@gmx.de>
To: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Handling Repeating events from google calendar / repeater interval
Date: Sun, 21 Jul 2013 12:44:15 +0200 [thread overview]
Message-ID: <51EBBB7F.4090609@gmx.de> (raw)
In-Reply-To: <85ppuisdax.fsf@damtp.cam.ac.uk>
On 07/16/2013 06:02 PM, Stephen Eglen wrote:
>
>> It's not exactly answering your question but my little tool
>>
>> https://github.com/simonthum/ical2org
>
> Dear Simon,
> Does your script handle summer time differences? My google calendar
> items are importing okay, but they are off by one hour. I've tried
> setting
> DEFAULT_TZ = 'Europe/London'
>
> in your script, but still I see no change. Below is one such entry, if
> that helps. The [UTC] after the timestamp would indicate to me that the
> time is correct (09:10 UTC, or 10:10 with one hour added for British
> Summer Time). But orgmode doesn't recognise the [UTC] note I think.
Hi, thanks for your report. I did not immediately see your mail due to
an email config problem.
Regarding your earlier mail, I fixed the typo.
Yes, org-mode does not recognize the [UTC], that is just a helper for
exactly this case: The ical's timezone is emitted in case it is
different from your DEFAULT_TZ. For me it worked fine so far.
What it does is to set the default timzone in ri_cal which I read as
being enough, but it is possible that it is not. In fact, I did not test
the timezone features very much.
could you please try the follwing:
Subsitute the second line in orgTimeSpanTZ
def orgTimeSpanTZ(tstart, tend, repeaterClause = nil)
res = orgTimeSpan(tstart, tend, repeaterClause)
for
res = orgTimeSpan(tstart.ruby_value, tend.ruby_value, repeaterClause)
?
It's not tested but might do the job.
HTH,
Simon
>
> Stephen
>
>
>
>
> * L+J have jabs with Millie (CONFIRMED)
> :PROPERTIES:
> :ID: kcd35lc23lt4260bovkc0gch1o@google.com
> :icalCategories:
> :END:
> <2013-07-23 Tu 09:10-09:30> [UTC]
> Location:
>
>
> :ICALENDAR:
> BEGIN:VEVENT
> CREATED;VALUE=DATE-TIME:20130716T082258Z
> DTEND;VALUE=DATE-TIME:20130723T093000Z
> STATUS:CONFIRMED
> DTSTART;VALUE=DATE-TIME:20130723T091000Z
> TRANSP:OPAQUE
> DTSTAMP;VALUE=DATE-TIME:20130716T154820Z
> LAST-MODIFIED;VALUE=DATE-TIME:20130716T082349Z
> ATTENDEE;CN=Family;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;ROLE=REQ-PARTICIPANT;X-NUM-GUESTS=0:mailto:9j2ef3g23899k14qu5d3qe5d7o@group.calendar.google.com
> UID:kcd35lc23lt4260bovkc0gch1o@google.com
> DESCRIPTION:
> SUMMARY:L+J have jabs with Millie
> LOCATION:
> SEQUENCE:1
> END:VEVENT
> :END:
>
>
> Stephen
>
next prev parent reply other threads:[~2013-07-21 10:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 15:00 Handling Repeating events from google calendar / repeater interval Stephen Eglen
2013-07-08 15:55 ` Guido Van Hoecke
2013-07-09 9:08 ` Stephen Eglen
2013-07-31 13:45 ` Neil Smithline
2013-07-31 19:42 ` Guido Van Hoecke
2013-07-09 6:38 ` Simon Thum
2013-07-09 9:07 ` Stephen Eglen
[not found] ` <85ppuisdax.fsf@damtp.cam.ac.uk>
2013-07-21 10:44 ` Simon Thum [this message]
2013-07-23 14:42 ` Stephen Eglen
2013-07-28 9:00 ` Simon Thum
2013-07-30 13:06 ` Stephen Eglen
2013-07-31 12:48 ` Simon Thum
[not found] ` <m27gg6h1z8.fsf@damtp.cam.ac.uk>
2013-07-31 21:18 ` Simon Thum
2013-08-08 20:56 ` Simon Thum
2013-08-09 20:32 ` Simon Thum
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=51EBBB7F.4090609@gmx.de \
--to=simon.thum@gmx.de \
--cc=S.J.Eglen@damtp.cam.ac.uk \
--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).