diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-21 02:14:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-21 02:14:53 -0400 |
commit | d0ac3a2e4e4b6a28c71755fe54089e28e3a7d4db (patch) | |
tree | 4ac1059c1170ddabe68e43b890612595d1d3e5be /test/baseline/opt-exact.test | |
parent | a93111470d54e6345617b51fcc939f306854a524 (diff) | |
download | fork-ledger-d0ac3a2e4e4b6a28c71755fe54089e28e3a7d4db.tar.gz fork-ledger-d0ac3a2e4e4b6a28c71755fe54089e28e3a7d4db.tar.bz2 fork-ledger-d0ac3a2e4e4b6a28c71755fe54089e28e3a7d4db.zip |
Added a new --exact option
The purpose of this option is that usually when you do a --monthly
periodic report, you see dates ranges from the first day of each month,
to the last day. With --exact, the first day of each range will be the
date of the first transaction found in that range, and likewise with the
end of the range. Essentially it "contracts" the reported period dates
to reflect the exact begin and end dates.
Diffstat (limited to 'test/baseline/opt-exact.test')
-rw-r--r-- | test/baseline/opt-exact.test | 225 |
1 files changed, 225 insertions, 0 deletions
diff --git a/test/baseline/opt-exact.test b/test/baseline/opt-exact.test new file mode 100644 index 00000000..358f1dc4 --- /dev/null +++ b/test/baseline/opt-exact.test @@ -0,0 +1,225 @@ +reg --weekly --exact books +<<< +2008/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2008/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2008/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2008/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2008/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2008/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2008/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2008/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2008/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2008/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2008/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2008/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2008/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2008/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2008/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2008/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2008/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2008/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2008/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2008/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2008/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2008/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2008/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2008/12/31 End of December + Expenses:Books $120.00 + Assets:Cash + +2009/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2009/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2009/02/01 February + Expenses:Books $20.00 + Assets:Cash + +2009/02/28 End of February + Expenses:Books $20.00 + Assets:Cash + +2009/03/01 March + Expenses:Books $30.00 + Assets:Cash + +2009/03/31 End of March + Expenses:Books $30.00 + Assets:Cash + +2009/04/01 April + Expenses:Books $40.00 + Assets:Cash + +2009/04/30 End of April + Expenses:Books $40.00 + Assets:Cash + +2009/05/01 May + Expenses:Books $50.00 + Assets:Cash + +2009/05/31 End of May + Expenses:Books $50.00 + Assets:Cash + +2009/06/01 June + Expenses:Books $60.00 + Assets:Cash + +2009/06/30 End of June + Expenses:Books $60.00 + Assets:Cash + +2009/07/01 July + Expenses:Books $70.00 + Assets:Cash + +2009/07/31 End of July + Expenses:Books $70.00 + Assets:Cash + +2009/08/01 August + Expenses:Books $80.00 + Assets:Cash + +2009/08/31 End of August + Expenses:Books $80.00 + Assets:Cash + +2009/09/01 September + Expenses:Books $90.00 + Assets:Cash + +2009/09/30 End of September + Expenses:Books $90.00 + Assets:Cash + +2009/10/01 October + Expenses:Books $100.00 + Assets:Cash + +2009/10/31 End of October + Expenses:Books $100.00 + Assets:Cash + +2009/11/01 November + Expenses:Books $110.00 + Assets:Cash + +2009/11/30 End of November + Expenses:Books $110.00 + Assets:Cash + +2009/12/01 December + Expenses:Books $120.00 + Assets:Cash + +2009/12/31 End of December + Expenses:Books $120.00 + Assets:Cash +>>>1 +08-Jan-01 - 08-Jan-01 Expenses:Books $10.00 $10.00 +08-Jan-31 - 08-Feb-01 Expenses:Books $30.00 $40.00 +08-Feb-28 - 08-Mar-01 Expenses:Books $50.00 $90.00 +08-Mar-31 - 08-Apr-01 Expenses:Books $70.00 $160.00 +08-Apr-30 - 08-May-01 Expenses:Books $90.00 $250.00 +08-May-31 - 08-May-31 Expenses:Books $50.00 $300.00 +08-Jun-01 - 08-Jun-01 Expenses:Books $60.00 $360.00 +08-Jun-30 - 08-Jul-01 Expenses:Books $130.00 $490.00 +08-Jul-31 - 08-Aug-01 Expenses:Books $150.00 $640.00 +08-Aug-31 - 08-Sep-01 Expenses:Books $170.00 $810.00 +08-Sep-30 - 08-Oct-01 Expenses:Books $190.00 $1000.00 +08-Oct-31 - 08-Nov-01 Expenses:Books $210.00 $1210.00 +08-Nov-30 - 08-Dec-01 Expenses:Books $230.00 $1440.00 +08-Dec-31 - 09-Jan-01 Expenses:Books $130.00 $1570.00 +09-Jan-31 - 09-Jan-31 Expenses:Books $10.00 $1580.00 +09-Feb-01 - 09-Feb-01 Expenses:Books $20.00 $1600.00 +09-Feb-28 - 09-Feb-28 Expenses:Books $20.00 $1620.00 +09-Mar-01 - 09-Mar-01 Expenses:Books $30.00 $1650.00 +09-Mar-31 - 09-Apr-01 Expenses:Books $70.00 $1720.00 +09-Apr-30 - 09-May-01 Expenses:Books $90.00 $1810.00 +09-May-31 - 09-Jun-01 Expenses:Books $110.00 $1920.00 +09-Jun-30 - 09-Jul-01 Expenses:Books $130.00 $2050.00 +09-Jul-31 - 09-Aug-01 Expenses:Books $150.00 $2200.00 +09-Aug-31 - 09-Sep-01 Expenses:Books $170.00 $2370.00 +09-Sep-30 - 09-Oct-01 Expenses:Books $190.00 $2560.00 +09-Oct-31 - 09-Oct-31 Expenses:Books $100.00 $2660.00 +09-Nov-01 - 09-Nov-01 Expenses:Books $110.00 $2770.00 +09-Nov-30 - 09-Dec-01 Expenses:Books $230.00 $3000.00 +09-Dec-31 - 09-Dec-31 Expenses:Books $120.00 $3120.00 +>>>2 +=== 0 |