Hello,
I have the following ledger with two transactions, both using effective dates:
$ cat group_by.ledger
2017-01-01=2017-01-15 Grocery
Expenses:Fuel $200.00
Liabilities:CreditCard
2017-01-01 Grocery
Expenses:Grocery $100.00 ; [=2017-01-15]
Expenses:Grocery $100.00 ; [=2017-02-15]
Expenses:Grocery $100.00 ; [=2017-03-15]
Expenses:Grocery $100.00 ; [=2017-04-15]
Expenses:Grocery $100.00 ; [=2017-05-15]
Expenses:Grocery $100.00 ; [=2017-06-15]
Liabilities:CreditCard
I use --effective and --related to see my credit card liabilites over
the months like:
$ ledger -f group_by.ledger --effective reg Liabilities:CreditCard -r
2017-01-15 Grocery Expenses:Fuel
$200.00 $200.00
2017-01-15 Grocery Expenses:Grocery
$100.00 $300.00
2017-02-15 Grocery Expenses:Grocery
$100.00 $400.00
2017-03-15 Grocery Expenses:Grocery
$100.00 $500.00
2017-04-15 Grocery Expenses:Grocery
$100.00 $600.00
2017-05-15 Grocery Expenses:Grocery
$100.00 $700.00
2017-06-15 Grocery Expenses:Grocery
$100.00 $800.00
It works perfectly but when I try to group by effective date it seems
to skip the transactions with multiple accounts:
$ ledger -f group_by.ledger --effective reg Liabilities:CreditCard -r
--group-by effective_date
2017/01/15
2017-01-15 Grocery Expenses:Fuel
$200.00 $200.00
Does this work as expected or is it a bug?
--
P. F. Smorigo
--
---
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.