Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-09 Thread Eric S Fraga
On Fri, 09 Jul 2010 09:57:48 +0900, Torsten Wagner wrote: > > Just by reading and without the possibility to test it. Why you multiply the > hour with 36 instead of 3600 to get seconds? Because the value returned by the %z format for the date command is in "hundred hours" form so that, for ins

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-08 Thread Nick Dokos
Torsten Wagner wrote: > Just by reading and without the possibility to test it. Why you multiply the > hour with 36 instead of 3600 to get seconds? > > > ... > ># this next command yields hours from UTC, + or -, times 100 ^ There's

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-08 Thread Torsten Wagner
Just by reading and without the possibility to test it. Why you multiply the hour with 36 instead of 3600 to get seconds? Grettings Torsten Eric S Fraga wrote: >On Wed, 7 Jul 2010 17:38:45 -0300, Daniel Martins wrote: >> >> Eric, >> >> Your awk seems to get timed appts in GMT >> >> How c

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-08 Thread Eric S Fraga
On Wed, 7 Jul 2010 17:38:45 -0300, Daniel Martins wrote: > > Eric, > > Your awk seems to get timed appts in GMT > > How can I adapt it to GMT-3 > > Daniel Okay! I think I've got this working for any time zone (as well as adding some more functionality -- read the prologue in the script for i

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-07 Thread Daniel Martins
OK Eric Thank you! Linux solution is fine! I think we share the same "addiction" at moment. Linux-Emacs-OrgMode-Android and due to Android the need of Google calendar syncing! I tried using gcaldaemon (there is a .deb file in http://blog.philippheckel.com/2008/09/30/gcaldaemon-deb-package-f

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-07 Thread Eric S Fraga
On Wed, 7 Jul 2010 17:38:45 -0300, Daniel Martins wrote: > > Eric, > > Your awk seems to get timed appts in GMT > > How can I adapt it to GMT-3 > > Daniel Daniel, yes, thanks for pointing this out. The script indeed does not translate the times to the local time zone. Google outputs (in the

Re: [Orgmode] Google calendar to org mode script and a feature request for agenda

2010-07-07 Thread Daniel Martins
Eric, Your awk seems to get timed appts in GMT How can I adapt it to GMT-3 Daniel 2010/6/29 Eric S Fraga : > Hello, > > I finally got myself an Android phone (and am loving it, especially > with an "all you can eat" data plan :-).  I have tried mobileorg for > Android but it's obviously early d

[Orgmode] Google calendar to org mode script and a feature request for agenda

2010-06-29 Thread Eric S Fraga
Hello, I finally got myself an Android phone (and am loving it, especially with an "all you can eat" data plan :-). I have tried mobileorg for Android but it's obviously early days and it's actually not really what I want. However, I am very happy with the Google syncing provided by the phone, b