emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eddward DeVilla" <eddward@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Timezone Support
Date: Tue, 24 Jun 2008 21:54:19 -0500	[thread overview]
Message-ID: <b71b18520806241954x47268e4fxec092fc9eae35a74@mail.gmail.com> (raw)
In-Reply-To: <20080117160641.GD30872@odin.demosthenes.org>

I found this in an old drafts folder.  I just thought I send it in
case anyone still cared.

On Jan 17, 2008 10:06 AM, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
> Would it be practical to extend the time format to include TZ data
> (ie: -06:00 ?). Otherwise I'll pick a TZ as standard and just mentally
> convert from there.

I had an idea come to mind if someone with the elisp-fu wanted to do
it.  You could put a flag in the file that gives the timezone the file
is in.  Say #+TIMEZONE: ... or something.  Then write a function that
will convert all the timestamps in the file from the timezone in the
#+ option to the current timezone and update the #+ to reflect the new
timezone.  Org-mode wouldn't even have to be aware of this.  You could
call it from a hook when you open org-mode files.  If there is no
timezone specification you don't convert the file.  It could probably
be an extension.

Edd

  parent reply	other threads:[~2008-06-25  2:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 18:03 Timezone Support Russell Adams
2008-01-17 12:37 ` Carsten Dominik
2008-01-17 16:06   ` Russell Adams
2008-01-17 17:46     ` Carsten Dominik
2008-06-25  2:54     ` Eddward DeVilla [this message]
2008-08-25 15:40     ` Russell Adams
2008-10-01 15:10       ` Carsten Dominik
2008-10-01 15:23         ` Russell Adams

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=b71b18520806241954x47268e4fxec092fc9eae35a74@mail.gmail.com \
    --to=eddward@gmail.com \
    --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).