emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] iCal export - possible timezone bug


From: Richard Riley
Subject: Re: [Orgmode] iCal export - possible timezone bug
Date: Fri, 08 May 2009 17:02:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> On May 7, 2009, at 7:45 PM, Nick Dokos wrote:
>
>> Richard Riley <address@hidden> wrote:
>>
>>> Carsten Dominik <address@hidden> writes:
>>>
>>>>>>>
>>>>>>> X-WR-TIMEZONE:Europe/Berlin
>>>>>>>
>>>>>>> and a quick test confirmed this. I don't have a clue if this is
>>>>>>> emacs
>>>>>>> side or more in org's remit, but hope this helps.
>>>>>>
>>>>>> The only time zone information I get from Emacs is the  
>>>>>> abbreviation.
>>>>>> Does anyone know how to concert this into the longer form?
>>>>>>
>>>>>> - Carsten
>>>>>>
>>>>>>
>>>>>
>>>>> I asked in the emacs irc and drew a blank. Possibly use what you do
>>>>> unless an org-timezone string is set for now?
>>>>
>>>>
>>>> this makes sense.
>>>>
>>>> For now the variable is org-ical-timezone, maybe
>>>> later it will be aliased to org-timezone.
>>>>
>>>> Available now.
>>>>
>>>> - Carsten
>>>>
>>>>
>>>
>>> tested, works. As does the fix on the export. Thanks.
>>>
>>
>> It might be a good idea to initialize the variable from the TZ
>> environment variable (if that is set). That way, one could add
>>
>>    export TZ
>>    TZ=Europe/Amsterdam
>>
>> e.g., in the appropriate login shell initialization file and get the
>> correct behavior with the system date as well as with org-icalendar.
>
>
> OK, good idea, done.
>
> Note however that Org does store time and date without
> time zone information attached to it, so changing the TZ environment
> variable will not change the display in the agenda etc.

Where is the best place to set this TZ in a Linux environment so that
emacs picks it up on a gnome desktop?

I tried in my .xinitrc and my .bashrc and my /etc/bash.bashrc and it
didn't seem to pick up for the export correctly.




reply via email to

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