Hello,
I seem to have come across a bug in querying value expressions --
something that works with `register' but fails with `balance':
ledger reg -l "d>=[this month] => works
ledger reg -d "d>=[this month] => works
ledger bal -l "d>=[this month] => works
ledger bal -d "d>=[this month] => FAILS with
While evaluating value expression:
(d >= [2012/08/01])
^^^^^^^^^^^^^^^^^^^
While comparing if 2012/08/09 15:25:59 is less than 2012/08/01:
Error: Cannot compare a date/time to a date
This is on Ledger 3.0.0-20120518, built on linux.
Thanks, as always, for Ledger.
Best,
Jesse