* duration without hours?
@ 2016-09-16 2:43 Matt Price
2016-09-16 3:13 ` Adam Porter
2016-09-16 7:00 ` Loris Bennett
0 siblings, 2 replies; 3+ messages in thread
From: Matt Price @ 2016-09-16 2:43 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
I have a silly table I am planning to use to teach myself a little bit
about R; it contains durations measured in minutes and seconds:
* Kayaking Log
| 500m Trial | <2016-09-14 Wed> | <2016-09-15 Thu> | Mean |
|------------+------------------+------------------+----------|
| 1 | 00:02:48 | 00:02:34 | 00:02:48 |
| 2 | 00:02:38 | 00:02:47 | |
| 3 | 00:02:42 | 00:02:42 | |
| 4 | 00:02:36 | 00:02:40 | |
| 5 | 00:02:58 | 00:02:37 | |
|------------+------------------+------------------+----------|
| MEAN | 00:02:44 | 00:02:40 | |
#+TBLFM: $2=vmean(@2..@-1);T::$3=vmean(@2..@-1);T::$4=vmean($2..$-1);T
I have a bunch of questions but will start with what is maybe the most
basic: can I write durations in minutes and seconds only? the extra 00: is
sort of annoying to type when I am tired.
Later I'll want to think about the best way to turn this data into a plot
of fastest, slowest, and mean times day-to-day. But not tonight, I'm beat!
Thanks,
Matt
[-- Attachment #2: Type: text/html, Size: 1602 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: duration without hours?
2016-09-16 2:43 duration without hours? Matt Price
@ 2016-09-16 3:13 ` Adam Porter
2016-09-16 7:00 ` Loris Bennett
1 sibling, 0 replies; 3+ messages in thread
From: Adam Porter @ 2016-09-16 3:13 UTC (permalink / raw)
To: emacs-orgmode
Matt Price <moptop99@gmail.com> writes:
> I have a bunch of questions but will start with what is maybe the most
> basic: can I write durations in minutes and seconds only? the extra
> 00: is sort of annoying to type when I am tired.
I'd recommend using org-capture to add to the table, and use a simple
function to take input in the form of "2h4m3s" and convert that to
"02:04:03". Much faster to type. :)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: duration without hours?
2016-09-16 2:43 duration without hours? Matt Price
2016-09-16 3:13 ` Adam Porter
@ 2016-09-16 7:00 ` Loris Bennett
1 sibling, 0 replies; 3+ messages in thread
From: Loris Bennett @ 2016-09-16 7:00 UTC (permalink / raw)
To: emacs-orgmode
Matt Price <moptop99@gmail.com> writes:
[snip (16 lines)]
> I have a bunch of questions but will start with what is maybe the most basic:
> can I write durations in minutes and seconds only? the extra 00: is sort of
> annoying to type when I am tired.
[snip (7 lines)]
Just to be contrary, for those of us who clock our working time with
orgmode and are not interested in know exactly how many seconds we spend
at the office, it would be nice to have durations expressed in hours and
minutes only. Maybe there could be something like the alignment setting
for columns which would affect the formatting.
Cheers,
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-16 7:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 2:43 duration without hours? Matt Price
2016-09-16 3:13 ` Adam Porter
2016-09-16 7:00 ` Loris Bennett
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.