From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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 11:28:34 +0200 [thread overview]
Message-ID: <87lhc5v1h9.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87fv2d2yl5.fsf@kaffanke.at> (Martin Kaffanke's message of "Thu, 17 Sep 2015 11:18:30 +0200")
Hello,
Martin Kaffanke <martin@kaffanke.at> writes:
> I'm doing in *scratch* the following (with C-j at the end of the line):
>
> (org-insert-time-stamp (org-read-date nil 'totime "8. März 2012"))
> <2012-10-08 Mon>"<2012-10-08 Mon>"
>
> (org-insert-time-stamp (org-read-date nil 'totime "8. März 1952"))
> <1970-10-08 Don>"<1970-10-08 Don>"
>
> (org-insert-time-stamp (org-read-date nil 'totime "1952-03-08"))
> <1970-03-08 Son>"<1970-03-08 Son>"
>
> So there a (german, and english - the last one) formated time is
> translated correct for dates after 1970, but its wrong before that.
>
> How can we fix that?
See org-read-date-force-compatible-dates.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2015-09-17 9:26 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 [this message]
2015-09-17 9:46 ` Martin Kaffanke
2015-09-17 9:48 ` Eric S Fraga
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=87lhc5v1h9.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--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).