From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Brubeck Unhammer Subject: Re: Timezone/Encoding issues when exporting as ics and importing to Google Calendar Date: Tue, 20 Mar 2012 13:33:21 +0100 Message-ID: <87ty1je9ke.fsf@fsfe.org> References: <87zklt7rfd.fsf@member.fsf.org> <11790.1307454502@alphaville.dokosmarshall.org> <87tyc17knp.fsf@member.fsf.org> <87ehsu9v9v.fsf@fsfe.org> <87ty1jo5xs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9yFy-0005iG-3m for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 08:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9yFr-0007HX-LY for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 08:33:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:33238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9yFr-0007HH-Ec for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 08:33:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S9yFp-0000TA-DO for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 13:33:33 +0100 Received: from cf93cbf51.dhcp.bluecom.no ([81.191.60.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2012 13:33:33 +0100 Received: from unhammer by cf93cbf51.dhcp.bluecom.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2012 13:33:33 +0100 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 Bastien writes: > Hi Kevin, > > Kevin Brubeck Unhammer 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 (http://paste.pocoo.org/raw/568448/). It works :-/ -Kevin