From ab433d28e08bbe23bbc75d333ed63343356e043a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 27 Oct 2009 21:32:55 -0400 Subject: Support a --now option, for testing purposes This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests. --- src/times.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/times.cc') diff --git a/src/times.cc b/src/times.cc index facdc4f6..7b6eb6e8 100644 --- a/src/times.cc +++ b/src/times.cc @@ -35,6 +35,8 @@ namespace ledger { +optional epoch; + date_time::weekdays start_of_week = gregorian::Sunday; //#define USE_BOOST_FACETS 1 -- cgit v1.2.3