beancounter currency weakness: can't handle lowercase
Bug #379511 reported by
markhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beancounter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: beancounter
specifying "usd" in the currency field of the addportfolio command results in failure on next status command:
$ beancounter addportfolio intc:10:usd
$ beancounter status
Found no usd for 20090522 in the beancounter database.
Use the --date and/or --prevdate options to pick another date.
$ beancounter addportfolio intc:123:USD
$ beancounter status
Name Shares Close Position Held Return
Intel Corporation 10 USD 15.11 USD 151.12
Intel Corporation 10 USD 15.11 USD 151.12
To post a comment you must log in.
A patch would be welcome. Should be just a matter of wrapping the 'uc' operator in to upper-case the currency. We do that for the symbol anyway.