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> h <m> m" instead of fractional hours.
Did you try --base?
- Added --base reporting option, for reporting convertible commodities
in their most basic form. For example, if you read a timeclock file
with Ledger, the time values are reported as hour and minutes --
whichever is the most compact form. But with --base, Ledger reports
only in seconds.
-----------------------------------------------------------------------
2017/01/01 * Client 1
A 5m
B 7m
C
2017/01/02 * Client 2
A 5h
B 5h
C
-----------------------------------------------------------------------
$ ledger -f test.ledger --daily --base reg
2017-01-01 - 2017-01-01 A 300s 300s
B 420s 720s
C -720s 0
2017-01-02 - 2017-01-02 A 18000s 18000s
B 18000s 36000s
C -36000s 0
$ ledger -f test.ledger --daily --amount-data --base reg
2017-01-01 300
2017-01-01 420
2017-01-01 -720
2017-01-02 18000
2017-01-02 18000
2017-01-02 -36000
Clément.
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.