emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Time computation errors
@ 2009-04-07 12:29 Francesco Pizzolante
  2009-04-07 13:24 ` Bernt Hansen
  2009-04-07 22:37 ` Daniel Clemente
  0 siblings, 2 replies; 7+ messages in thread
From: Francesco Pizzolante @ 2009-04-07 12:29 UTC (permalink / raw)
  To: mailing-list-org-mode

Hi,

Going on in discovering org-mode, I found 2 problems when trying
to make computations on times.

Consider the following example:

--8<---------------cut here---------------start------------->8---
* Test
#+COLUMNS: %25ITEM(Description)  %Time1{:} %Time2{:} %Time3{:}

#+BEGIN: columnview :hlines 1 :id local
| Description | Time1 | Time2 | Time3  |
|-------------+-------+-------+--------|
| * Test      |  3:30 |  3:00 | #ERROR |
| *** Item 1  | -1:30 |  1:00 | #ERROR |
| *** Item 2  |  4:00 |  2:00 | #ERROR |
#+TBLFM: $4=$2+$3
#+END:

*** Item 1
    :PROPERTIES:
    :Time1:    -1:30
    :Time2:    1:00
    :END:

*** Item 2
    :PROPERTIES:
    :Time1:    4:00
    :Time2:    2:00
    :END:
--8<---------------cut here---------------end--------------->8---


Problems:

1) The sum of Time1 for Test headline is wrong: 3:30 instead of
   2:30;

2) I'm unable to sum times through a formula (see Time3 column).
   The same formula works perfectly when you replace times with
   integers.

Any feedback is welcome.

Thanks,
Francesco


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-04-08 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07 12:29 Time computation errors Francesco Pizzolante
2009-04-07 13:24 ` Bernt Hansen
     [not found]   ` <87skkktx4n.fsf-EZCVE/ZCkfKiJtKbxSCZYZ53EReGIhmS@public.gmane.org>
2009-04-07 14:12     ` Francesco Pizzolante
2009-04-07 15:32       ` Bernt Hansen
     [not found]         ` <87d4botr7v.fsf-EZCVE/ZCkfKiJtKbxSCZYZ53EReGIhmS@public.gmane.org>
2009-04-08  6:46           ` Francesco Pizzolante
2009-04-08 14:48             ` Bernt Hansen
2009-04-07 22:37 ` Daniel Clemente

Code repositories for project(s) associated with this 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).