emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>,
	Richard Riley <rileyrgdev@googlemail.com>
Subject: Re: iCal export - possible timezone bug
Date: Fri, 08 May 2009 17:02:06 +0200	[thread overview]
Message-ID: <4a04496f.0405560a.3a5c.55ad@mx.google.com> (raw)
In-Reply-To: <22AF8CD5-782F-4BBD-B12E-11F1F2CA024E@gmail.com> (Carsten Dominik's message of "Fri, 8 May 2009 09:18:11 +0200")

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On May 7, 2009, at 7:45 PM, Nick Dokos wrote:
>
>> Richard Riley <rileyrgdev@googlemail.com> wrote:
>>
>>> Carsten Dominik <carsten.dominik@gmail.com> 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	other threads:[~2009-05-08 15:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25 20:51 iCal export - possible timezone bug Richard Riley
2009-05-06 10:57 ` Carsten Dominik
2009-05-06 13:42   ` Richard Riley
2009-05-06 13:50     ` Carsten Dominik
2009-05-07 16:59       ` Richard Riley
2009-05-07 17:45         ` Nick Dokos
2009-05-08  7:18           ` Carsten Dominik
2009-05-08 15:02             ` Richard Riley [this message]
2009-05-08 15:09               ` Karsten Heymann
2009-05-08 15:51                 ` Richard Riley
2009-05-08 15:11               ` Nick Dokos
2009-05-08 15:27               ` Nick Dokos
2009-05-08 15:49                 ` Richard Riley
2009-05-07  4:44     ` Mario E. Munich
2009-05-07 15:08       ` Richard Riley
2009-05-07 15:23         ` Nick Dokos
2009-05-07 15:49           ` Richard Riley
     [not found]         ` <71454fac0905070813laabf50bg4cb5285b3c48085c@mail.gmail.com>
     [not found]           ` <4a0302c6.0637560a.215f.1158@mx.google.com>
2009-05-07 17:06             ` Richard Riley
2009-05-17 12:31               ` Richard Riley
  -- strict thread matches above, loose matches on Subject: below --
2009-05-08 16:15 Nick Dokos
2009-05-08 16:37 ` Richard Riley
2009-05-08 20:13   ` Nick Dokos
2009-05-08 21:15     ` Nick Dokos

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=4a04496f.0405560a.3a5c.55ad@mx.google.com \
    --to=rileyrgdev@googlemail.com \
    --cc=carsten.dominik@gmail.com \
    --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).