diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-16 18:49:27 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-16 18:49:27 +0100 |
commit | 3a926da4cbffe903d138f8df9f5cb33332ff1030 (patch) | |
tree | b090a19c1d59b339c17b65e6d322889d3d76e9c8 /test/regress/647D5DB9.test | |
parent | 849e4b2fbbfc08f62550145b61d3e2b442777c86 (diff) | |
download | fork-ledger-3a926da4cbffe903d138f8df9f5cb33332ff1030.tar.gz fork-ledger-3a926da4cbffe903d138f8df9f5cb33332ff1030.tar.bz2 fork-ledger-3a926da4cbffe903d138f8df9f5cb33332ff1030.zip |
When --end is used, set a "terminus" date
This means that final balance valuations (with -V or -X) will be done in
terms of the date given to --end, rather than based on the current day.
Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
Diffstat (limited to 'test/regress/647D5DB9.test')
-rw-r--r-- | test/regress/647D5DB9.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/647D5DB9.test b/test/regress/647D5DB9.test new file mode 100644 index 00000000..3f187b36 --- /dev/null +++ b/test/regress/647D5DB9.test @@ -0,0 +1,17 @@ +bal --end 2008/12/31 -JV bal Equities +<<< +2008/01/01 * Purchase Apple shares + Equities 1000 AAPL @ $2 + Cash + +2008/06/30 * Sell some Apple shares + Equities -500 AAPL @ $2.5 + Cash + +P 2008/10/01 02:18:02 AAPL $3 +P 2009/01/31 02:18:02 AAPL $4 +P 3000/01/01 02:18:02 APPL $100 +>>>1 +2008-12-31 1500 +>>>2 +=== 0 |