On 2023-01-25, at 14:29, Ihor Radchenko <[email protected]> wrote:
> Marcin Borkowski <[email protected]> writes: > >>... Still, it looks like >> there's a bug with ~Daily~ periodic transactions: if I have a ~Daily~ >> ~Food~ expense of 30 PLN, it is only counted towards my budget on days >> an actual ~Food~ expense was made. > > I think that ~ Daily alone is ambiguous. When should it start? Infinite > years back? You need to specify at least "from" in addition. Otherwise, > what ledger does kind of makes sense - budget only when you actually > spend. Anything else would be insane. Well, yes and no -- I took care to supply `--begin` in my Ledger invocation. By the way, is there a way to supply a starting date /in the Ledger file itself/? Also, daily budget makes /a lot/ of practical sense. If my monthly food budget is, say, 600 PLN, it's Jan 25 and I've spent 480 PLN on food, I can't immediately tell if I'm overspending or not. For the record, I wrote myself a very simple web app which gets data from Ledger and displays my spending this month against budget computed /for today/ (so in the above case it would tell me that I'm ahead of my budget). It would be cool if Ledger could provide such information, too... Best, -- Marcin Borkowski http://mbork.pl -- --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/87ilguo6gy.fsf%40mbork.pl.
