On 3/19/15 5:32 AM, [email protected] wrote: >> When start/end dates have been specified (with -b/-e/-p/date:), >> hledger will extend the report to those dates when -E/--empty is used. Eg: >> >> 2014/7/1 >> (Expenses:RareExpense) 1 >> >> $ hledger reg -ME -b 2014/1/1 RareExpense >> 2014/01 0 0 >> 2014/02 0 0 >> 2014/03 0 0 >> 2014/04 0 0 >> 2014/05 0 0 >> 2014/06 0 0 >> 2014/07 Ex:RareExpense 1 1 >> >> Another option would be to extend the report, either with or without -E, >> to the journal's start/end date (the earliest and latest date of all >> postings in the journal file(s)). > > Anyway, I'm using ledger, not hledger. The behaviour you describe for > hledger is *not* what ledger does. In particular, with your example, the > output I get is: > > $ ledger -f ledger.dat reg -ME -b 2014/1/1 RareExpense > 14-Jul-01 - 14-Jul-31 (Expens:RareExpense) 1 1 > > I can understand why ledger has this behaviour if no start or end-date is > present. However, I don't find it sensible that the above does not contain > the empty months until from January till July. I would expect exactly the > behaviour that hledger seems to have.
Yes I should have made clear, I know you asked about ledger and I'm just confirming your observation and sharing ideas for improvement. hledger initially did it just like ledger and I had exactly the same wish as you. -- --- 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.
