summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-07-24 18:44:23 +0200
committerBastien Guerry <bzg@altern.org>2011-07-24 18:44:23 +0200
commitef670abc498bf887890a843da9fd20f1559aa632 (patch)
tree947b63d31c69fd026cd9029bcc6e6001d5ea3d82
parentecd2a41ecc2404f5606603b45aa52ed82849c34b (diff)
downloadorg-mode-ef670abc498bf887890a843da9fd20f1559aa632.tar.gz
org.texi: small update on durations computation.
-rw-r--r--doc/org.texi13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 58b64fc..79a4c9c 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -2573,14 +2573,17 @@ formulas or Elisp formulas:
@example
@group
-| Task 1 | Task 2 | Total |
-|--------+--------+---------|
-| 35:00 | 35:00 | 1:10:00 |
-#+TBLFM: @@2$3=$1+$2;T
+ | Task 1 | Task 2 | Total |
+ |---------+----------+----------|
+ | 2:12 | 1:47 | 03:59:00 |
+ | 3:02:20 | -2:07:00 | 00:55:20 |
+ #+TBLFM: $3=$1+$2;T
@end group
@end example
-Values must be of the form @code{[HH:]MM:SS}, where hours are optional.
+Values must be of the form @code{[HH:MM[:SS]}, where seconds are optional.
+The resulting duration will always be displayed as @code{[HH:MM:SS}. Note
+that negative values can be manipulated as well.
@node Field and range formulas, Column formulas, Durations and time values, The spreadsheet
@subsection Field and range formulas