emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-read-date wrong for dates before 1970 ?
@ 2015-09-17  9:18 Martin Kaffanke
  2015-09-17  9:28 ` Nicolas Goaziou
  2015-09-17  9:48 ` Eric S Fraga
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Kaffanke @ 2015-09-17  9:18 UTC (permalink / raw)
  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ä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?

(this code is used in the google-contacts-to-org-contacts functions from
the google-contacts package)

Thanks,
Martin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-17  9:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).