Hi!
Ah ich glaub ich bin blind... In der Version 2.0.0 taucht das doch auf, dort ist es nur nicht `task N` sondern `task info N`. Danke für den Hinweiß mit dem default befehl!
.taskrc konfiguriert bei mir `data.location=~/.task`
Bei mir schaut das dann so aus:
Code: Alles auswählen
$ task --version
2.5.1
$ task 3
No command specified - assuming 'information'.
Name Value
ID 3
Description foo
Status Pending
Entered 2016-09-30 11:17:47 (10d)
Last modified 2016-10-05 22:12:20 (4d)
Virtual tags PENDING READY UNBLOCKED LATEST
UUID 6b697b8f-c51b-4c3a-8dba-02f61da8727b
Urgency 0.05
age 0.027 * 2 = 0.055
------
0.05
Date Modification
2016-09-30 11:18:00 Start set to '2016-09-30 11:18:00'.
2016-09-30 11:41:24 Start deleted (duration: PT23M24S).
2016-10-02 12:46:36 Start set to '2016-10-02 12:46:36'.
2016-10-02 13:47:44 Start deleted (duration: PT1H1M8S).
2016-10-04 16:37:57 Start set to '2016-10-04 16:37:57'.
2016-10-04 18:19:32 Start deleted (duration: PT1H41M35S).
2016-10-04 18:35:32 Start set to '2016-10-04 18:35:32'.
2016-10-04 19:52:42 Start deleted (duration: PT1H17M10S).
2016-10-04 20:43:51 Start set to '2016-10-04 20:43:51'.
2016-10-04 21:58:15 Start deleted (duration: PT1H14M24S).
2016-10-05 21:06:48 Start set to '2016-10-05 21:06:48'.
2016-10-05 22:12:20 Start deleted (duration: PT1H5M32S).
$ ./task --version
2.0.0
$ ./task info 3
Name Value
ID 3
Description foo
Status Pending
UUID 6b697b8f-c51b-4c3a-8dba-02f61da8727b
Entered 9/30/2016 (10 days)
Urgency 0.05479
Date Modification
9/30/2016 Start set to '9/30/2016'.
Modified changed from '1475227067' to
'1475227080'.
9/30/2016 Start deleted.
Modified changed from '1475227080' to
'1475228484'.
10/2/2016 Start set to '10/2/2016'.
Modified changed from '1475228484' to
'1475405196'.
10/2/2016 Start deleted.
Modified changed from '1475405196' to
'1475408864'.
10/4/2016 Start set to '10/4/2016'.
Modified changed from '1475408864' to
'1475591877'.
10/4/2016 Start deleted.
Modified changed from '1475591877' to
'1475597972'.
10/4/2016 Start set to '10/4/2016'.
Modified changed from '1475597972' to
'1475598932'.
10/4/2016 Start deleted.
Modified changed from '1475598932' to
'1475603562'.
10/4/2016 Start set to '10/4/2016'.
Modified changed from '1475603562' to
'1475606631'.
10/4/2016 Start deleted.
Modified changed from '1475606631' to
'1475611095'.
10/5/2016 Start set to '10/5/2016'.
Modified changed from '1475611095' to
'1475694408'.
10/5/2016 Start deleted.
Modified changed from '1475694408' to
'1475698340'.
Total active time 6:43:13
Dort bekomme ich eben eine total active time, welche in version 2.5.1 nicht mehr drin ist (oder irgendwo versteckt).
Edit: Ok mit dem suchbegriff "total active time" findet man gleich mal mehr informationen, zB diese hier:
In version 2.4.0 (currently in beta) total active time is removed, and instead a hook-based script will be available that properly aggregates time in a UDA. That will be a reportable field.
Siehe
https://answers.tasktools.org/questions ... tom-report
Naja dann muss man jetzt wohl diesen Hook verwenden.
Komisch, dass sie genau so ein feature rausgepatched haben.
editedit: nachdem ich diesen hook nicht installiert bekomme, hier mein workaround:
Code: Alles auswählen
function taskworked { task info $1 | egrep -o "PT[0-9MHS]+[^)]" | xargs | sed -e 's/ /+/g' | xargs task calc }