emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: emacs-orgmode@gnu.org
Subject: Re: Timezone/Encoding issues when exporting as ics and importing to Google Calendar
Date: Tue, 20 Mar 2012 13:33:21 +0100	[thread overview]
Message-ID: <87ty1je9ke.fsf@fsfe.org> (raw)
In-Reply-To: 87ty1jo5xs.fsf@gnu.org

Bastien <bzg@gnu.org> writes:

> Hi Kevin,
> Kevin Brubeck Unhammer <unhammer@fsfe.org> writes:
>> I guess I'll have to upgrade my org-mode version (6.33x) to get
>> org-icalendar-date-time-format?
> Not sure this will fix your problem, but yes, 6.33x is kinda 
> prehistoric now.
> Best,

I ended up making a function to turn local time into UTC
(http://paste.pocoo.org/raw/568445/ , probably could've been a lot
simpler, but I don't really understand all the various time formats
floating around), seems to work so far. And of course had to redefine
org-ical-ts-to-string to take org-icalendar-date-time-format
(":%Y%m%dT%H%M%SZ") into account, and use time-to-utc before formatting

It works :-/


      reply	other threads:[~2012-03-20 12:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 12:32 Timezone/Encoding issues when exporting as ics and importing to Google Calendar Tassilo Horn
2011-06-07 13:48 ` Nick Dokos
2011-06-07 14:58   ` Tassilo Horn
2012-03-15  7:29     ` Kevin Brubeck Unhammer
2012-03-20 11:41       ` Bastien
2012-03-20 12:33         ` Kevin Brubeck Unhammer [this message]

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:

  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=87ty1je9ke.fsf@fsfe.org \
    --to=unhammer@fsfe.org \
    --cc=emacs-orgmode@gnu.org \


* 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


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).