From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Google calendar to org mode script and a feature request for agenda Date: Thu, 08 Jul 2010 21:54:16 -0400 Message-ID: <7512.1278640456@gamaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=51292 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OX2nY-0006Ur-6m for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:54:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OX2nO-0008D9-O7 for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:54:39 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:57735) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OX2nO-0008Cv-Iy for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:54:30 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L590046YPAG2O50@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 20:54:17 -0500 (CDT) In-reply-to: Message from Torsten Wagner of "Fri, 09 Jul 2010 09:57:48 +0900." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Torsten Wagner Cc: nicholas.dokos@hp.com, org-mode mailing list 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 your factor of 100 (although I, too, have not tested it.) > ># Note: this does not cater for those people living in time zones > ># that are not aligned with discrete hours (e.g. Newfoundland)... > >timezone=$(date +%z | sed 's/^\([+-]\)0/\1/') > > Cheers, Nick