* Possible bug report - error with time string recognition in clocktable
@ 2013-05-08 23:47 Subhan Tindall
2013-05-09 23:08 ` Subhan Tindall
0 siblings, 1 reply; 2+ messages in thread
From: Subhan Tindall @ 2013-05-08 23:47 UTC (permalink / raw)
To: Org-Mode
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
The following clocktable line:
#+BEGIN: clocktable :tstart "<-7d>" :tend "<now>"
#+END:
errors out on the tstart & tend times
According to all the documentation I can find, these are both valid
'special' time strings.
Attempts to evaluate the clocktable with C-c C-c give the error:
Updating dynamic block `clocktable' at line 57...
org-parse-time-string: Not a standard Org-mode time string: <-7d>
however this:
#+BEGIN: clocktable :tstart "<2013-05-08 Wed>" :tend "<2013-05-09 Thu>"
#+END:
works just fine
--
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.com
RENTRAK | www.rentrak.com | NASDAQ: RENT
[-- Attachment #2: Type: text/html, Size: 1211 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Possible bug report - error with time string recognition in clocktable
2013-05-08 23:47 Possible bug report - error with time string recognition in clocktable Subhan Tindall
@ 2013-05-09 23:08 ` Subhan Tindall
0 siblings, 0 replies; 2+ messages in thread
From: Subhan Tindall @ 2013-05-09 23:08 UTC (permalink / raw)
To: Org-Mode
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
More info:
This appears to be failing in org-parse-time-string, when it compares the
string "<now>" to org-ts-regexp0
Nothing in the regexp nor in the call tree is attempting to process the
special time values.
It seems like there is missing code needed either in org-parse-time-string
to handle the special strings, or in the clock-updater code to convert the
special time strings to actual times before passing them on.
Is there somewhere else I should be submitting this bug?
On Wed, May 8, 2013 at 4:47 PM, Subhan Tindall <
subhan.tindall@rentrakmail.com> wrote:
> The following clocktable line:
> #+BEGIN: clocktable :tstart "<-7d>" :tend "<now>"
>
> #+END:
>
> errors out on the tstart & tend times
> According to all the documentation I can find, these are both valid
> 'special' time strings.
> Attempts to evaluate the clocktable with C-c C-c give the error:
>
> Updating dynamic block `clocktable' at line 57...
> org-parse-time-string: Not a standard Org-mode time string: <-7d>
>
> however this:
> #+BEGIN: clocktable :tstart "<2013-05-08 Wed>" :tend "<2013-05-09 Thu>"
> #+END:
>
> works just fine
>
>
> --
> Subhan Michael Tindall | Software Developer
> | smt@rentrakmail.com
> RENTRAK | www.rentrak.com | NASDAQ: RENT
>
--
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.com
RENTRAK | www.rentrak.com | NASDAQ: RENT
[-- Attachment #2: Type: text/html, Size: 2610 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-09 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 23:47 Possible bug report - error with time string recognition in clocktable Subhan Tindall
2013-05-09 23:08 ` Subhan Tindall
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).