Re: Forcing output of timekeeping in one unit with --amount-data or --total-data

2018-01-24 Thread Colin Dean
That's close enough! I can do the math to make it hours with awk: ledger -f "$(t timelog)" reg --daily --no-total --base -j | awk '{print $1 " " $2/3600}' Thanks! Now, to figure out how to make gnuplot's output not look so… spartan. Colin Dean http://cad.cx On Wed, Jan 24, 2018 at 7:16 PM, Clém

Re: Forcing output of timekeeping in one unit with --amount-data or --total-data

2018-01-24 Thread James A. Robinson
Thank you! I think --base would certainly work for the OP, who wanted something consistent to graph. Looking again at the manual page I had failed to see that there is --time-colon - Display the value for commodities based on seconds as hours and minutes. Thus 8100s will be displayed as 2:15h i

Re: Forcing output of timekeeping in one unit with --amount-data or --total-data

2018-01-24 Thread Clément Pit-Claudel
On 2018-01-24 18:37, Jim Robinson wrote: > I'm very interested in the answer to this, I was just poking around in the > documentation trying to see if this was addressed an unable to spot it on my > first pass. > > I was looking to see if I could either always produce minutes, or produce > " h

Re: Forcing output of timekeeping in one unit with --amount-data or --total-data

2018-01-24 Thread Jim Robinson
I'm very interested in the answer to this, I was just poking around in the documentation trying to see if this was addressed an unable to spot it on my first pass. I was looking to see if I could either always produce minutes, or produce " h m" instead of fractional hours. -- --- You recei

Forcing output of timekeeping in one unit with --amount-data or --total-data

2018-01-24 Thread Colin Dean
I'm attempting to output timekeeping data with the intention of graphing it. $ ledger -f "$(t timelog)" reg -p 'this week' --daily 18-Jan-22 - 18-Jan-22 (N:Development) 8.19h8.19h (N:Email) 15.0m8.44h