From dcffd218a1e90ee9a1cdd295c0a3015edc395448 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 Jun 2010 03:18:32 -0400 Subject: Revised how Ledger handles the "current year" Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year. --- src/precmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/precmd.cc') diff --git a/src/precmd.cc b/src/precmd.cc index 4c916608..95f3e875 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -186,7 +186,7 @@ value_t period_command(call_scope_t& args) out << std::endl; date_interval_t interval(arg); - interval.dump(out, report.session.current_year); + interval.dump(out); return NULL_VALUE; } -- cgit v1.2.3