ledger/test/baseline/opt-plot-amount-format.test
2011-02-12 18:11:26 -05:00

8 lines
289 B
Text

2007/02/02 RD VMMXX
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
test reg -j --plot-amount-format='X %(format_date(date, "%Y-%m-%d")) Y %(quantity(scrub(display_amount)))\n'
X 2007-02-02 Y 0.35
X 2007-02-02 Y -0.35
end test