I am getting an error "Specified time is not representable" when calling
org-timeline.  The backtrace looks like:

  encode-time(0 0 0 0 0 0 0 0 0)
  apply(encode-time (0 0 0 0 0 0 0 0 0))
  org-time-string-to-time(#("2007-05-10" 0 10 (fontified t mouse-face highlight
rear-nonsticky t keymap (keymap ... ... ... ... ...) face org-date)))
  org-get-all-dates(1 3994 no-ranges t nil 3)
  org-timeline(nil)
  call-interactively(org-timeline)

The problem occurs when org-time-string-to-string calls org-parse-time-string. 
This matches with org-ts-regexp1, which has a hard-coded space, so the
10-character date string isn't parsed as you'd expect.

(org-parse-time-string "2007-05-10 ") => (0 0 0 10 5 2007 nil nil nil)
(org-parse-time-string "2007-05-10")  => (0 0 0 0 0 0 0 0 0)

A fix might be just to get rid of the space in the regexp.

Best,
Jon



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to