emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Martin Kaffanke <martin@kaffanke.at>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-read-date wrong for dates before 1970 ?
Date: Thu, 17 Sep 2015 10:48:06 +0100	[thread overview]
Message-ID: <87r3lxcr6x.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87fv2d2yl5.fsf@kaffanke.at> (Martin Kaffanke's message of "Thu, 17 Sep 2015 11:18:30 +0200")

On Thursday, 17 Sep 2015 at 11:18, Martin Kaffanke wrote:

[...]

> So there a (german, and english - the last one) formated time is
> translated correct for dates after 1970, but its wrong before that.

This is a known issue: Unix was born in 1969 and time did not exist
before ;-)  It's the equivalent of the big bang.

More seriously, the data structure used to indicate time and date in
Unix is 0 sometime in 1969 and runs out in 2037 (due to 32 bit integer
arithmetic), at least as far as org is concerned.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9

      parent reply	other threads:[~2015-09-17  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  9:18 org-read-date wrong for dates before 1970 ? Martin Kaffanke
2015-09-17  9:28 ` Nicolas Goaziou
2015-09-17  9:46   ` Martin Kaffanke
2015-09-17  9:48 ` Eric S Fraga [this message]

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=87r3lxcr6x.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=martin@kaffanke.at \
    /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).