summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-16 18:49:27 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-16 18:49:27 +0100
commit3a926da4cbffe903d138f8df9f5cb33332ff1030 (patch)
treeb090a19c1d59b339c17b65e6d322889d3d76e9c8 /src/session.h
parent849e4b2fbbfc08f62550145b61d3e2b442777c86 (diff)
downloadfork-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 'src/session.h')
-rw-r--r--src/session.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/session.h b/src/session.h
index 10e5b758..679fe679 100644
--- a/src/session.h
+++ b/src/session.h
@@ -101,13 +101,6 @@ public:
clean_accounts();
}
- value_t fn_now(call_scope_t&) {
- return CURRENT_TIME();
- }
- value_t fn_today(call_scope_t&) {
- return CURRENT_DATE();
- }
-
void report_options(std::ostream& out)
{
HANDLER(account_).report(out);