emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Timezone/Encoding issues when exporting as ics and importing to


From: Kevin Brubeck Unhammer
Subject: Re: [O] Timezone/Encoding issues when exporting as ics and importing to Google Calendar
Date: Tue, 20 Mar 2012 13:33:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Kevin,
>
> Kevin Brubeck Unhammer <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]