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 /src/chain.cc | |
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 'src/chain.cc')
-rw-r--r-- | src/chain.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chain.cc b/src/chain.cc index 2fc6123e..14c07b8c 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -138,6 +138,7 @@ xact_handler_ptr chain_xact_handlers(report_t& report, handler.reset(new interval_xacts(handler, expr, report.HANDLER(period_).str(), report.session.master.get(), + report.HANDLED(exact), report.HANDLED(empty))); handler.reset(new sort_xacts(handler, "date")); } |