Bug #189

"stop" annotates start and stop times

Added by David Patrick 386 days ago. Updated 9 days ago.

Status:Closed Start:07/07/2009
Priority:Normal Due date:
To:Federico Hernandez % Done:

0%

Category:core Spent time: -
Target version:1.9.3 - Kuwagata

Description

To enable time-tracking, "stop" should move start-time and stop-time to a task annotation.
It should be easy to report from, and write to, and might be similar to having entered

$ task 55 ann:start_2010-01-04_19:32:22---stop_2010-01-04_21:19:13
$ task 55 ann:start_2010-01-05_09:23:02---stop_2010-01-05_11:45:32
$ task 55 ann:start_2010-01-05_23:05:25---stop_2010-01-06_00:06:13

with simply

$ task 55 start

and

$ task 55 stop

at the noted times, or by hitting "s" in interactive mode, with 55 selected


Related issues

related to Feature #325 add "task duration" parameter New 11/26/2009
related to Feature #390 Time stamp added to annotations Closed 03/02/2010
related to Bug #436 libfaketime needed on all dev platforms Assigned 07/19/2010

History

Updated by Cory Donnelly 13 days ago

Federico's excellent work on expanding annotations to support times allow start and stop times to be implemented as vanilla annotations:

$ proposedtask rc:minimal.rc start 1
Using alternate .taskrc file minimal.rc
Started 1 'Foo'
$ proposedtask rc:minimal.rc stop 1 
Using alternate .taskrc file minimal.rc
Stopped 1 'Foo'
$ proposedtask rc:minimal.rc info 1
Using alternate .taskrc file minimal.rc

Name        Value                               
ID          1
Description Foo
            2010-07-15 19:15 Started task
            2010-07-15 19:16 Stopped task
Status      Pending
UUID        9562f5c3-4655-432f-9805-5c7c9c3e2695
Entered     7/15/2010 (12 mins)

Updated by Paul Beckingham 13 days ago

  • Status changed from New to Assigned
  • Target version changed from 2.0.x - Katana to 1.9.3 - Kuwagata

Updated by Federico Hernandez 10 days ago

  • To changed from Paul Beckingham to Federico Hernandez

Updated by Paul Beckingham 10 days ago

Cory, that's a nice clean way to do this. I like that.

Updated by Federico Hernandez 9 days ago

  • Status changed from Assigned to Closed

See the journal.time, journal.time.start.annotation and journal.time.stop.annotation configuration options.

Also available in: Atom PDF