From: Juan Pechiar <pechiar@computer.org>
To: djcb@djcbsoftware.nl
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Worldcup + time zone question
Date: Mon, 7 Jun 2010 23:20:09 -0300 [thread overview]
Message-ID: <20100608022009.GA17629@soloJazz.com> (raw)
In-Reply-To: <87ocfmpqtd.wl%djcb@djcbsoftware.nl>
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?)
next prev parent reply other threads:[~2010-06-08 2:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-07 19:48 Worldcup + time zone question Dirk-Jan C. Binnema
2010-06-08 1:11 ` Daniel Martins
2010-06-08 2:04 ` Bill White
2010-06-08 2:20 ` Juan Pechiar [this message]
2010-06-08 3:39 ` Russell Adams
2010-06-08 8:31 ` Richard Riley
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=20100608022009.GA17629@soloJazz.com \
--to=pechiar@computer.org \
--cc=djcb@djcbsoftware.nl \
--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).