emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: Timezones revisited
Date: Wed, 1 Feb 2017 17:05:41 +0100	[thread overview]
Message-ID: <20170201160541.GI7187@volibear.adamsinfoserv.com> (raw)
In-Reply-To: <87shnxuczj.fsf@pellet>

On Wed, Feb 01, 2017 at 07:50:24AM -0800, Eric Abrahamsen wrote:
> Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
> >
> > Does the time stamp input support some form of timezone input? I
> > checked the manual and tried a few methods and they don't appear
> > supported.
>
> If the time stamp format doesn't support timezone info, then the input
> method won't either, unfortunately. I had one of my occasional attacks
> of enthusiasm about this subject recently -- using org-caldav while
> you're traveling really exposes the limitations of timezone-unaware
> scheduling.

That's my case. Now I'm using the date command with -d to translate
for me.

> Would it be completely out of the question to support an optional
> timezone marker? From (nth 1 (current-time-zone))?
>
> <2017-02-01 Wed PST>
>
> The plumbing for time calculations would be... an adventure. But it
> seems like it could be done in a backwards-compatible way.

I gave some thought to the idea of storing all timestamps in GMT and
then each buffer could have a timezone defined or use the system
time. Then the relative time would be overlaid in viewing the
file. That's a real stretch though, as I think this would take
significant effort.

I think for now a simple method to input a time from another timezone
and convert it to your own would suffice. That wouldn't change
anything regarding storage or working with timestamps, only a one time
conversion a the time of data entry. I wonder if that isn't a fast
change?

Thanks.




------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

  reply	other threads:[~2017-02-01 16:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31 23:03 Timezones revisited Russell Adams
2017-02-01 15:50 ` Eric Abrahamsen
2017-02-01 16:05   ` Russell Adams [this message]
2017-02-01 16:29     ` Eric Abrahamsen
2017-02-01 16:14   ` Peter Neilson
2017-02-01 16:20     ` Russell Adams
2017-02-01 17:33       ` Eric Abrahamsen

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=20170201160541.GI7187@volibear.adamsinfoserv.com \
    --to=rladams@adamsinfoserv.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).