Skip to content

Instantly share code, notes, and snippets.

@linuxcaffe
Created February 24, 2015 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxcaffe/064aa1365960bf591798 to your computer and use it in GitHub Desktop.
Save linuxcaffe/064aa1365960bf591798 to your computer and use it in GitHub Desktop.
with this timelog file;
i 2015/02/23 15:34:21 co munity:subproj call Keren Hollis about a thing
o 2015/02/23 15:35:46 ; :tag1:tag2:tag3 uuid: 874865465765764576547655
i 2015/02/23 16:55:29 no project email NB
o 2015/02/23 16:56:27 ; uuid: 8763876837638763
i 2015/02/24 12:01:01 community call Keren Hollis
o 2015/02/24 12:01:18 ; :support: uuid: ab69c320-727c-47cf-950f-f3d5f2d80ac6
i 2015/02/24 12:02:38 no project call Hugh Reily
o 2015/02/24 12:03:08 ; uuid: 07bef5e9-97cc-4007-a0fd-f2849f9f9ced
i 2015/02/24 12:02:58 no project call Frank Tata
o 2015/02/24 12:03:12 ; uuid: f38c345a-99f5-46e5-b01c-0aa9749633fc
i 2015/02/24 12:04:44 contact:tech call Hugh Reily
o 2015/02/24 12:04:55 ; uuid: 07bef5e9-97cc-4007-a0fd-f2849f9f9ced
using ledger 2.6.2, I'm seeing;
djp@tigger:~/.task/time$ ledger -f ~/.task/time/timelog.ledger register
2015/02/23 call Keren Hollis .. (community:subproj) 1.4m 1.4m
2015/02/23 email NB (no project) 58s 2.4m
2015/02/24 call Keren Hollis (community) 17s 2.7m
2015/02/24 call Hugh Reily (no project) 30s 3.2m
2015/02/24 call Frank Tata (no project) 14s 3.4m
2015/02/24 call Hugh Reily (contact:tech) 11s 3.6m
and using current hledger;
djp@tigger:~/.task/time$ hledger -f ~/.task/time/timelog.ledger register
2015/02/23 15:34-15:35 (..is about a thing) 0 0
2015/02/23 16:55-16:56 (..roject email NB) 0 0
2015/02/24 12:01-12:01 (..all Keren Hollis) 0 0
2015/02/24 12:02-12:03 (.. call Hugh Reily) 0 0
2015/02/24 12:02-12:03 (.. call Frank Tata) 0 0
2015/02/24 12:04-12:04 (.. call Hugh Reily) 0 0
what does a current version of ledger look like?
@afh
Copy link

afh commented Feb 24, 2015

 % ledger --version | head -1
  Ledger 3.1.0-20141005, the command-line accounting tool
  % pbpaste | ledger -f -  reg
  23.02.2015 call Keren Hollis .. (co munity:subproj)            1.4m         1.4m
  23.02.2015 email NB             (no project)                    58s         2.4m
  24.02.2015 call Keren Hollis    (community)                     17s         2.7m
  24.02.2015 call Hugh Reily      (no project)                    30s         3.2m
  24.02.2015 call Frank Tata      (no project)                    14s         3.4m
  24.02.2015 call Hugh Reily      (contact:tech)                  11s         3.6m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment