Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 18 by sampointon: register, --display and --empty don't play
nicely
http://code.google.com/p/hledger/issues/detail?id=18
borked.ledger:
2009-12-01 * foo
foo £1.00
bar
2009-12-15 * bar
foo £1.00
baz
2009-12-21 * baz
bar £2.00
foo
hledger -f borked.ledger register foo -W -E --display=d\>=[2009-12-07]
2009/11/30 - 2009/12/06 0
£1.00
2009/12/07 - 2009/12/13 0
£1.00
2009/12/14 - 2009/12/20 foo £1.00
£2.00
2009/12/21 - 2009/12/27 foo £-2.00
0
This looks wrong to me. register should not display entries where the
entire date range is excluded by a --display predicate. Instead, I'd expect
this:
2009/12/07 - 2009/12/13 0
£1.00
2009/12/14 - 2009/12/20 foo £1.00
£2.00
2009/12/21 - 2009/12/27 foo £-2.00
0
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings