From: Jonathan Moore <my.jon.moore@gmail.com>
To: emacs-orgmode@gnu.org
Subject: "Specified time is not representable" with org-timeline in 4.77
Date: Thu, 14 Jun 2007 21:15:04 +0000 (UTC) [thread overview]
Message-ID: <loom.20070614T230029-253@post.gmane.org> (raw)
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
next reply other threads:[~2007-06-14 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 21:15 Jonathan Moore [this message]
2007-06-15 5:14 ` "Specified time is not representable" with org-timeline in 4.77 Carsten Dominik
2007-06-18 6:55 ` Carsten Dominik
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=loom.20070614T230029-253@post.gmane.org \
--to=my.jon.moore@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).