From ba35340ca9c7351beab0ff9fa7a58591eb6ad39f Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 28 Dec 2014 14:45:39 +0100 Subject: Bugfix 1038: empty reg report for this month period when year was specified with literal Y or year directive, but not when using apply year. --- src/textual.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index f0df3b66..8007ca0d 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -285,6 +285,11 @@ void instance_t::parse() } } + if (apply_stack.front().value.type() == typeid(optional)) + epoch = boost::get >(apply_stack.front().value); + + apply_stack.pop_front(); + #if defined(TIMELOG_SUPPORT) timelog.close(); #endif // TIMELOG_SUPPORT -- cgit v1.2.3