emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: francois@avalenn.eu
To: emacs-orgmode@gnu.org
Subject: Re: Time-zone in dates
Date: Fri, 26 Jun 2015 21:57:49 +0200	[thread overview]
Message-ID: <20150626195749.GG5090@fjo-extia-HPdeb> (raw)
In-Reply-To: <87y4j6tgyn.fsf@nicolasgoaziou.fr>

Hello,

On Fri, Jun 26, 2015 at 09:20:00PM +0200, Nicolas Goaziou wrote:
> Time zone information is interesting when users of different areas are
> exchanging Org documents.
> 
> I think it would be useful to have:
> 
>  - a keyword to specify time zone per document. This time zone would
>    apply to every time stamp not defining their own time zone. Default
>    value could be `local' so we would be backward compatible.
> 
>  - a way to specify a time zone per time stamp, overriding the previous
>    keyword.
> 
> I think it would require to define a proper API for timestamps in order
> to ensure, e.g., comparisons are done right.

Timezones are strange beasts to deal with.

It is really simpler programmatically to deal with time offsets
instead. The downside is that you cannot manage DST and other similar
peculiarities but the API is much simpler to write.

Just please don't confuse timezones and time offsets especially in
documentation as it is not the same thing and it can lead to
confusion.

I reread from time to time this note from W3C which explains the
difference and why it matters :
http://www.w3.org/TR/2005/NOTE-timezone-20051013/#d2e226 

Regards,
François

  reply	other threads:[~2015-06-26 20:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 13:40 Time-zone in dates Oleg Sivokon
2015-06-26 14:12 ` Eric S Fraga
2015-06-26 14:33   ` Left Right
2015-06-26 14:38   ` J. David Boyd
2015-06-26 15:10     ` Eric S Fraga
2015-06-26 19:20       ` Nicolas Goaziou
2015-06-26 19:57         ` francois [this message]
2015-06-26 21:48           ` Nicolas Goaziou
2015-06-29 13:17           ` Eric S Fraga
2015-06-30  1:17             ` Nick Dokos
2015-06-30  7:36               ` Eric S Fraga
2015-06-30 15:08                 ` Nick Dokos
2015-07-01  6:27                   ` Eric S Fraga
2015-07-01 10:04                     ` Michael Brand
2015-07-01 11:22                       ` Eric S Fraga
2015-07-07 17:27                         ` Russell Adams
2015-07-08 15:59                           ` Don Armstrong
2015-07-08 16:16                             ` Russell Adams
2015-07-08 16:40                               ` Eric S Fraga
2015-07-08 17:22                                 ` Titus von der Malsburg
2015-07-07 17:14                       ` Don Armstrong
2015-07-01 15:17                     ` Nick Dokos
2015-07-01 22:17                       ` Left Right

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=20150626195749.GG5090@fjo-extia-HPdeb \
    --to=francois@avalenn.eu \
    --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).