From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pechiar Subject: Re: Worldcup + time zone question Date: Mon, 7 Jun 2010 23:20:09 -0300 Message-ID: <20100608022009.GA17629@soloJazz.com> References: <87ocfmpqtd.wl%djcb@djcbsoftware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=36933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLoQI-0001hs-DO for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 22:20:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLoQH-0003ol-Cs for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 22:20:14 -0400 Received: from cpoproxy2-pub.bluehost.com ([67.222.39.38]:48808) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OLoQH-0003od-3n for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 22:20:13 -0400 Content-Disposition: inline In-Reply-To: <87ocfmpqtd.wl%djcb@djcbsoftware.nl> 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: djcb@djcbsoftware.nl Cc: Org Mode Here is a quick and dirty function to update all timestamps in a buffer by N hours: 8<---------------------------------------- (defun uphours ( n ) "update all timestamps n hours" (interactive "nAdd hours: ") (save-excursion (goto-char (point-min)) (while (re-search-forward "[[<]" nil t) (when (org-at-timestamp-p t) (org-timestamp-change n 'hour) )))) 8<---------------------------------------- S.Africa is UTC+2. To change to UTC-3 call with -5 as argument. Use and modify as needed. Regards, .j. On Mon, Jun 07, 2010 at 10:48:14PM +0300, Dirk-Jan C. Binnema wrote: > I made a little org-mode schedule for the Football World Cup in South-Africa > (attached); it may be useful for some. > > Anyway, my question: the times are the local times in South Africa -- is there > some way to have the times shown in my org-agenda automatically corrected for > my local time zone? > #+STARTUP:content > #+category:FIFA2010 > > Note: all time are local (UTC+2 times) > > * Group A :A: > ** Uruguay - France <2010-06-11 Fri 20:30> (will we beat France on Friday?)