emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Clocking work time with a date not a time only
@ 2009-04-01 13:56 Giovanni Ridolfi
       [not found] ` <155496.90395.qm-+muOpk2Ss/nGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Giovanni Ridolfi @ 2009-04-01 13:56 UTC (permalink / raw)
  To: emacs-orgmode, Jan Buchal


--- Mar 31/3/09, Jan Buchal <buchal@brailcom.org> ha scritto:
> I use Clocking work time function for a logging my work.
> With keys C-c C-x
> C-i I start a clocking and with C-c C-x C-o I finish my
> clocking. the
> function put something like:
> 
>   CLOCK: [2009-03-30 Po 11:00]--[2009-03-30 Po 11:38]
> =>  0:38
> 
> and then I use the dynamic region for summary of my all
> times. But I
> would like have in a table not a times but a dates too. Is
> it any way?
> the table can seams for example so:
> 
> #+BEGIN: clocktable :maxlevel 2 :scope file
> Clock summary at [2009-03-31 Út 15:21]
> 
> | L | Headline                             | Time   |
> |---+--------------------------------------+--------|
> |   | *Total time*                         | *0:38* |
> |---+--------------------------------------+--------|
> | 1 | project one:              | 2009-03-31 0:38   |
> #+END:
> 
> Also not a time only but date plus time. Is it possible?
> 

Jan, 2 suggestions:

1.  how about using date in the *headline itself?*:

--------------------test.org-----------
* [2009-04-01 mer] time
** 1st task
   CLOCK: [2009-04-01 mer 15:20]--[2009-04-01 mer 15:28] =>  0:08
** 2nd task
   CLOCK: [2009-04-01 mer 15:18]--[2009-04-01 mer 15:28] =>  0:10

#+BEGIN: clocktable :maxlevel 2 :scope file
Clock summary at [2009-04-01 mer 15:29]
| L | Headline                                   |    Time |       |
|---+--------------------------------------------+---------+-------|
|   | *Total time*                               | *33:33* |       |
|---+--------------------------------------------+---------+-------|
| 1 | [2009-04-01 mer] time                      |    0:18 |       |
| 2 | 1st task                                   |         |  0:08 |
| 2 | 2nd task                                   |         |  0:10 |
|---+--------------------------------------------+---------+-------|
#+END:

2. exploit properties 
-----------------------------test2.org------------------
* [2009-04-01 mer] time
:PROPERTIES:
:COLUMNS:%Heading %Date %CLOCKSUM
:END:
** 1s task
:PROPERTIES:
:ID: task
:Heading: 1s Task
:Date: [2009-04-01 mer]
   CLOCK: [2009-04-01 mer 15:20]--[2009-04-01 mer 15:28] =>  0:08
:END:
** 2nd task
:PROPERTIES:
:ID: task
:Heading: 2nd task
   :Date:  [2009-01-28 mer]
   CLOCK: [2009-04-01 mer 15:18]--[2009-04-01 mer 15:28] =>  0:10
:END:
#+BEGIN: columnview :hlines 1 :id "task"
| Heading  | Date             | CLOCKSUM |
|----------+------------------+----------|
|          |                  |     0:18 |
| 1st task | [2009-04-01 mer] |     0:08 |
| 2nd task | [2009-01-28 mer] |     0:10 |
#+END:
---------------------------------------------------

Carsten, is it possible to have, as a special property, 
the value of the headline ?
.. shouldn't be complicated, it's already extracted 
for clocktables.. ;-)

cheers,
Giovanni




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

end of thread, other threads:[~2009-04-03 16:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 13:56 Clocking work time with a date not a time only Giovanni Ridolfi
     [not found] ` <155496.90395.qm-+muOpk2Ss/nGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2009-04-02  8:55   ` Sébastien Vauban
2009-04-02  9:37     ` Carsten Dominik
     [not found]       ` <AAD9B813-70C7-4F6E-8053-A642F3C7FD65-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-04-02 12:08         ` Sébastien Vauban
2009-04-02 14:01           ` Carsten Dominik
2009-04-02 14:11             ` Carsten Dominik
     [not found]               ` <DC748614-4A82-44BE-A891-DC919ECF8264-V/Xpf/srekw@public.gmane.org>
2009-04-02 14:49                 ` Sébastien Vauban
2009-04-02 16:23                   ` Carsten Dominik
2009-04-03  8:49                   ` Carsten Dominik
2009-04-03 10:20                     ` Jan Buchal
2009-04-03 10:32                       ` Carsten Dominik
2009-04-03 11:58                     ` Sébastien Vauban
     [not found]                       ` <87myayc5jn.fsf-pwAqS3aGAJQybS5Ee8rs3A@public.gmane.org>
2009-04-03 12:10                         ` Sébastien Vauban
2009-04-03 16:58                           ` Carsten Dominik

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).