emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: iCal export - possible timezone bug
@ 2009-05-08 16:15 Nick Dokos
  2009-05-08 16:37 ` Richard Riley
  0 siblings, 1 reply; 18+ messages in thread
From: Nick Dokos @ 2009-05-08 16:15 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

Richard Riley <rileyrgdev@googlemail.com> wrote:

> It's a tad more complicated in my case since although I use gdm, I don't
> use gnome-session as I use xmonad as my WM but with various gnome
> utilities such as gnome-taskbar.
> 

I may have misspoken about gnome-session: the article I pointed you to
seems to say that it's gdm that reads /etc/gdm/Xsession.

> Think I'll stick with the iCalendar setting to be sure.

Yeah, probably safest.

> 
> Thanks for the link though.
> 

You are welcome!

Nick

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 16:15 iCal export - possible timezone bug Nick Dokos
@ 2009-05-08 16:37 ` Richard Riley
  2009-05-08 20:13   ` Nick Dokos
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Riley @ 2009-05-08 16:37 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode, Richard Riley

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Riley <rileyrgdev@googlemail.com> wrote:
>
>> It's a tad more complicated in my case since although I use gdm, I don't
>> use gnome-session as I use xmonad as my WM but with various gnome
>> utilities such as gnome-taskbar.
>> 
>
> I may have misspoken about gnome-session: the article I pointed you to
> seems to say that it's gdm that reads /etc/gdm/Xsession.

Which is still not a good place to put it since if you change your login
manager to, say, wdm bang goes your TZ. 

>
>> Think I'll stick with the iCalendar setting to be sure.
>
> Yeah, probably safest.
>
>> 
>> Thanks for the link though.
>> 
>
> You are welcome!
>
> Nick
>

-- 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 16:37 ` Richard Riley
@ 2009-05-08 20:13   ` Nick Dokos
  2009-05-08 21:15     ` Nick Dokos
  0 siblings, 1 reply; 18+ messages in thread
From: Nick Dokos @ 2009-05-08 20:13 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

Richard Riley <rileyrgdev@googlemail.com> wrote:

> Nick Dokos <nicholas.dokos@hp.com> writes:
> 
> > Richard Riley <rileyrgdev@googlemail.com> wrote:
> >
> >> It's a tad more complicated in my case since although I use gdm, I don't
> >> use gnome-session as I use xmonad as my WM but with various gnome
> >> utilities such as gnome-taskbar.
> >> 
> >
> > I may have misspoken about gnome-session: the article I pointed you to
> > seems to say that it's gdm that reads /etc/gdm/Xsession.
> 
> Which is still not a good place to put it since if you change your login
> manager to, say, wdm bang goes your TZ. 
> 

I certainly was not suggesting putting the TZ definition in a system file:
it belongs in a personal file (e.g. ~/.profile in my case).  I was just
correcting a (possible) misstatement in my earlier post.

The question is: is there a personal file that can be used for this purpose,
no matter *how* one starts his or her desktop environment?  I suspect that
the answer is "no", but there might be a best practice: one or two or perhaps a
handful of possibilities for different methods of desktop initialization.

Nick

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 20:13   ` Nick Dokos
@ 2009-05-08 21:15     ` Nick Dokos
  0 siblings, 0 replies; 18+ messages in thread
From: Nick Dokos @ 2009-05-08 21:15 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode, Richard Riley

Nick Dokos <nicholas.dokos@hp.com> wrote:

> The question is: is there a personal file that can be used for this purpose,
> no matter *how* one starts his or her desktop environment?  I suspect that
> the answer is "no", but there might be a best practice: one or two or perhaps a
> handful of possibilities for different methods of desktop initialization.
> 

Assuming that /etc/X11/Xsession is actually more general than just Ubuntu,
then there does seem to be a single place where things like environment variable
definitions can be picked up: ~/.xsessionrc.

First, at the top of /etc/X11/Xsession it says:

# global Xsession file -- used by display managers and xinit (startx)

[ But, forewarned is forearmed - the man page for Xsession (worth
reading in its entirety for all the caveats) says:

       /etc/X11/Xsession is a Bourne shell (sh(1)) script which is run
       when an X Window System ses‐ sion is begun by startx(1x) or a
       display manager such as xdm(1x).  (Some display managers only
       invoke Xsession when specifically directed to so by the user; see
       the documentation for your display manager to find out more.)

]

Second, it defines (among other things)

SYSSESSIONDIR=/etc/X11/Xsession.d
USERXSESSION=$HOME/.xsession
USERXSESSIONRC=$HOME/.xsessionrc

Third, it sources all the files in $SYSSESSIONDIR:

SESSIONFILES=$(run-parts --list $SYSSESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
  set +e
  for SESSIONFILE in $SESSIONFILES; do
    . $SESSIONFILE
  done
  set -e
fi

Fourth, one of the files in /etc/X11/Xsession.d is  40x11-common_xsessionrc
which reads in its entirety:

# This file is sourced by Xsession(5), not executed.

#Source user defined xsessionrc (locales and other environment variables)
if [ -r "$USERXSESSIONRC" ]; then
  . "$USERXSESSIONRC"
fi

So it seems that ~/.xsessionrc is sourced very early in the desktop
initialization and might serve as a universal provider of e.g. environment
variables.

Nick

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 15:09               ` Karsten Heymann
@ 2009-05-08 15:51                 ` Richard Riley
  0 siblings, 0 replies; 18+ messages in thread
From: Richard Riley @ 2009-05-08 15:51 UTC (permalink / raw)
  To: Karsten Heymann; +Cc: org-mode

Karsten Heymann <karsten.heymann@blue-cable.net> writes:

> Hi,
>
> Richard Riley <rileyrgdev@googlemail.com> writes:
>> 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.
>
> .xinitrc or .xsession would be my choice too. Of cource you have to make
> sure that those files are actually used, usually you have to choose
> "custom session" or similiar in the gdm login screen.
>
> Yours
> Karsten

My xinitrc is my launch point for xmonad so I know it was used. But the
TZ value was not picked up in emacs after Carsten's push. So if anyone
else can check it works it would confirm its me in error.

>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

-- 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 15:27               ` Nick Dokos
@ 2009-05-08 15:49                 ` Richard Riley
  0 siblings, 0 replies; 18+ messages in thread
From: Richard Riley @ 2009-05-08 15:49 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode, Richard Riley

Nick Dokos <nicholas.dokos@hp.com> writes:

> [Sorry about the fat-fingered empty response earlier.]
>
> Richard Riley <rileyrgdev@googlemail.com> wrote:
>
>> >>
>> >>    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.
>> 
>> 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.
>> 
>
> For my Ubuntu 8.04/Gnome setup, putting it in ~/.profile works. But it
> depends on how your distro organizes the initialization of the desktop.
> There is a reasonable writeup (again about Ubuntu) here:
>
>      http://linuxgazette.net/161/okopnik.html
>
> It has to be part of the environment of whatever process starts your
> emacs (probably gnome-session), so it has to be set in an initialization
> file that gnome-session reads. The reason that ~/.profile works in Ubuntu
> is that gnome-session reads /etc/gdm/Xsession which includes the
> following:

It's a tad more complicated in my case since although I use gdm, I don't
use gnome-session as I use xmonad as my WM but with various gnome
utilities such as gnome-taskbar.

Think I'll stick with the iCalendar setting to be sure.

Thanks for the link though.

>
> ,----
> | # First read /etc/profile and .profile
> | test -f /etc/profile && . /etc/profile
> | test -f "$HOME/.profile" && . "$HOME/.profile"
> | # Second read /etc/xprofile and .xprofile for X specific setup
> | test -f /etc/xprofile && . /etc/xprofile
> | test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
> `----
>
> HTH,
> Nick
>
>
>      
>

-- 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 15:02             ` Richard Riley
  2009-05-08 15:09               ` Karsten Heymann
  2009-05-08 15:11               ` Nick Dokos
@ 2009-05-08 15:27               ` Nick Dokos
  2009-05-08 15:49                 ` Richard Riley
  2 siblings, 1 reply; 18+ messages in thread
From: Nick Dokos @ 2009-05-08 15:27 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

[Sorry about the fat-fingered empty response earlier.]

Richard Riley <rileyrgdev@googlemail.com> wrote:

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

For my Ubuntu 8.04/Gnome setup, putting it in ~/.profile works. But it
depends on how your distro organizes the initialization of the desktop.
There is a reasonable writeup (again about Ubuntu) here:

     http://linuxgazette.net/161/okopnik.html

It has to be part of the environment of whatever process starts your
emacs (probably gnome-session), so it has to be set in an initialization
file that gnome-session reads. The reason that ~/.profile works in Ubuntu
is that gnome-session reads /etc/gdm/Xsession which includes the following:

,----
| # First read /etc/profile and .profile
| test -f /etc/profile && . /etc/profile
| test -f "$HOME/.profile" && . "$HOME/.profile"
| # Second read /etc/xprofile and .xprofile for X specific setup
| test -f /etc/xprofile && . /etc/xprofile
| test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
`----

HTH,
Nick


     

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 15:02             ` Richard Riley
  2009-05-08 15:09               ` Karsten Heymann
@ 2009-05-08 15:11               ` Nick Dokos
  2009-05-08 15:27               ` Nick Dokos
  2 siblings, 0 replies; 18+ messages in thread
From: Nick Dokos @ 2009-05-08 15:11 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08 15:02             ` Richard Riley
@ 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
  2 siblings, 1 reply; 18+ messages in thread
From: Karsten Heymann @ 2009-05-08 15:09 UTC (permalink / raw)
  To: org-mode

Hi,

Richard Riley <rileyrgdev@googlemail.com> writes:
> 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.

.xinitrc or .xsession would be my choice too. Of cource you have to make
sure that those files are actually used, usually you have to choose
"custom session" or similiar in the gdm login screen.

Yours
Karsten

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-08  7:18           ` Carsten Dominik
@ 2009-05-08 15:02             ` Richard Riley
  2009-05-08 15:09               ` Karsten Heymann
                                 ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Richard Riley @ 2009-05-08 15:02 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode, Richard Riley

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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-07 17:45         ` Nick Dokos
@ 2009-05-08  7:18           ` Carsten Dominik
  2009-05-08 15:02             ` Richard Riley
  0 siblings, 1 reply; 18+ messages in thread
From: Carsten Dominik @ 2009-05-08  7:18 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode, Richard Riley


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.

- Carsten

> I find the timezone stuff very confusing in general, but I have the
> (perhaps incorrect) impression that people actually use the TZ env
> variable sometimes, although I guess that Linux distros in general try
> to automagically do the right thing at installation time by copying  
> the
> appropriate tzfile into /etc/localtime, so you don't have to worry  
> about
> TZ; but if you are switching between timezones or want to override the
> default, TZ does work:
>
>   export TZ=US/Eastern
>   date
>   export TZ=US/Pacific
>   date
>   export TZ=Europe/Berlin
>   date
>
> works as expected (this is on Ubuntu 8.04 - BTW, the tzfiles are in
> /usr/share/zoneinfo on this distro.)
>
> Nick
>
>
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-07 16:59       ` Richard Riley
@ 2009-05-07 17:45         ` Nick Dokos
  2009-05-08  7:18           ` Carsten Dominik
  0 siblings, 1 reply; 18+ messages in thread
From: Nick Dokos @ 2009-05-07 17:45 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

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.

I find the timezone stuff very confusing in general, but I have the
(perhaps incorrect) impression that people actually use the TZ env
variable sometimes, although I guess that Linux distros in general try
to automagically do the right thing at installation time by copying the
appropriate tzfile into /etc/localtime, so you don't have to worry about
TZ; but if you are switching between timezones or want to override the
default, TZ does work:

   export TZ=US/Eastern
   date
   export TZ=US/Pacific
   date
   export TZ=Europe/Berlin
   date

works as expected (this is on Ubuntu 8.04 - BTW, the tzfiles are in
/usr/share/zoneinfo on this distro.)

Nick

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-06 13:50     ` Carsten Dominik
@ 2009-05-07 16:59       ` Richard Riley
  2009-05-07 17:45         ` Nick Dokos
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Riley @ 2009-05-07 16:59 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode, Richard Riley

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

> On May 6, 2009, at 3:42 PM, Richard Riley wrote:
>
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>
>>> On Apr 25, 2009, at 10:51 PM, Richard Riley wrote:
>>>
>>>>
>>>> My ics file exported from org has the following content:
>>>>
>>>> X-WR-TIMEZONE:CEST
>>>>
>>>> However, in Google calendar, it says the imported calendar is
>>>>
>>>> 	(GMT+00:00) GMT (no daylight saving)
>>>>
>>>>
>>>> A quick Google for ical and timezone makes me believe the format  
>>>> might
>>>> need to be
>>>>
>>>> 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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-06 13:42   ` Richard Riley
  2009-05-06 13:50     ` Carsten Dominik
@ 2009-05-07  4:44     ` Mario E. Munich
  1 sibling, 0 replies; 18+ messages in thread
From: Mario E. Munich @ 2009-05-07  4:44 UTC (permalink / raw)
  To: emacs-orgmode


> 
> I asked in the emacs irc and drew a blank. Possibly use what you do
> unless an org-timezone string is set for now?
> 
> Seeing my org-mode todos on my blackberry courtesy of Google calendar is
> pretty neat!
> 
> cheers,
> 
> r.
> 

Dear Richard,

looking at org TODO's via Google calendar is quite sweet! I am going to sound
completely naive in front of all the hard-core org users, but would it be
possible that you describe your setup/workflow in order to get to see the org
TODO's in the Google calendar? I have a Google G1 phone with Android, so I would
really like to connect the phone to my org workspace.

Thanks a lot!

-Mario

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-06 13:42   ` Richard Riley
@ 2009-05-06 13:50     ` Carsten Dominik
  2009-05-07 16:59       ` Richard Riley
  2009-05-07  4:44     ` Mario E. Munich
  1 sibling, 1 reply; 18+ messages in thread
From: Carsten Dominik @ 2009-05-06 13:50 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode


On May 6, 2009, at 3:42 PM, Richard Riley wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Apr 25, 2009, at 10:51 PM, Richard Riley wrote:
>>
>>>
>>> My ics file exported from org has the following content:
>>>
>>> X-WR-TIMEZONE:CEST
>>>
>>> However, in Google calendar, it says the imported calendar is
>>>
>>> 	(GMT+00:00) GMT (no daylight saving)
>>>
>>>
>>> A quick Google for ical and timezone makes me believe the format  
>>> might
>>> need to be
>>>
>>> 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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-05-06 10:57 ` Carsten Dominik
@ 2009-05-06 13:42   ` Richard Riley
  2009-05-06 13:50     ` Carsten Dominik
  2009-05-07  4:44     ` Mario E. Munich
  0 siblings, 2 replies; 18+ messages in thread
From: Richard Riley @ 2009-05-06 13:42 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode, Richard Riley

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

> On Apr 25, 2009, at 10:51 PM, Richard Riley wrote:
>
>>
>> My ics file exported from org has the following content:
>>
>> X-WR-TIMEZONE:CEST
>>
>> However, in Google calendar, it says the imported calendar is
>>
>> 	(GMT+00:00) GMT (no daylight saving)
>>
>>
>> A quick Google for ical and timezone makes me believe the format might
>> need to be
>>
>> 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?

Seeing my org-mode todos on my blackberry courtesy of Google calendar is
pretty neat!

cheers,

r.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: iCal export - possible timezone bug
  2009-04-25 20:51 Richard Riley
@ 2009-05-06 10:57 ` Carsten Dominik
  2009-05-06 13:42   ` Richard Riley
  0 siblings, 1 reply; 18+ messages in thread
From: Carsten Dominik @ 2009-05-06 10:57 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode


On Apr 25, 2009, at 10:51 PM, Richard Riley wrote:

>
> My ics file exported from org has the following content:
>
> X-WR-TIMEZONE:CEST
>
> However, in Google calendar, it says the imported calendar is
>
> 	(GMT+00:00) GMT (no daylight saving)
>
>
> A quick Google for ical and timezone makes me believe the format might
> need to be
>
> 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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* iCal export - possible timezone bug
@ 2009-04-25 20:51 Richard Riley
  2009-05-06 10:57 ` Carsten Dominik
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Riley @ 2009-04-25 20:51 UTC (permalink / raw)
  To: org-mode


My ics file exported from org has the following content:

X-WR-TIMEZONE:CEST

However, in Google calendar, it says the imported calendar is 

	(GMT+00:00) GMT (no daylight saving)


A quick Google for ical and timezone makes me believe the format might
need to be

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.

regards

r.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-05-08 21:16 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-08 16:15 iCal export - possible timezone bug Nick Dokos
2009-05-08 16:37 ` Richard Riley
2009-05-08 20:13   ` Nick Dokos
2009-05-08 21:15     ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2009-04-25 20:51 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
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

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