From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-read-date wrong for dates before 1970 ? Date: Thu, 17 Sep 2015 11:28:34 +0200 Message-ID: <87lhc5v1h9.fsf@nicolasgoaziou.fr> References: <87fv2d2yl5.fsf@kaffanke.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcVSz-0007EA-CH for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcVSy-0004NJ-EM for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:26:57 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:54707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcVSy-0004N0-6v for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:26:56 -0400 In-Reply-To: <87fv2d2yl5.fsf@kaffanke.at> (Martin Kaffanke's message of "Thu, 17 Sep 2015 11:18:30 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin Kaffanke Cc: emacs-orgmode Hello, Martin Kaffanke 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=C3=A4rz 2012")) > <2012-10-08 Mon>"<2012-10-08 Mon>" > > (org-insert-time-stamp (org-read-date nil 'totime "8. M=C3=A4rz 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, --=20 Nicolas Goaziou