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/item.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 209b2dc2..8018db9a 100644 --- a/src/item.h +++ b/src/item.h @@ -162,14 +162,12 @@ public: const optional& value = none, const bool overwrite_existing = true); - virtual void parse_tags(const char * p, - scope_t& scope, - bool overwrite_existing = true, - optional current_year = none); - virtual void append_note(const char * p, - scope_t& scope, - bool overwrite_existing = true, - optional current_year = none); + virtual void parse_tags(const char * p, + scope_t& scope, + bool overwrite_existing = true); + virtual void append_note(const char * p, + scope_t& scope, + bool overwrite_existing = true); static bool use_effective_date; -- cgit v1.2.3