From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Kaffanke Subject: org-read-date wrong for dates before 1970 ? Date: Thu, 17 Sep 2015 11:18:30 +0200 Message-ID: <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]:43729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcVKy-0003wx-5q for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcVKt-0000mQ-8z for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:18:40 -0400 Received: from kaffanke.at ([91.228.53.228]:45546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcVKt-0000mB-2l for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:18:35 -0400 Received: from martin-arch (213162068133.public.t-mobile.at [213.162.68.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by kaffanke.at (Postfix) with ESMTPSA id 326C06ADE068 for ; Thu, 17 Sep 2015 11:18:32 +0200 (CEST) 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: emacs-orgmode Hi there, 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? (this code is used in the google-contacts-to-org-contacts functions from the google-contacts package) Thanks, Martin