diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/token.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.cc b/src/token.cc index 9dfff065..1ba7147f 100644 --- a/src/token.cc +++ b/src/token.cc @@ -207,7 +207,7 @@ void expr_t::token_t::next(std::istream& in, const parse_flags_t& pflags, length++; date_interval_t timespan(buf); - optional<date_t> begin = timespan.begin(); + optional<date_t> begin = timespan.begin(CURRENT_DATE().year()); if (! begin) throw_(parse_error, _("Date specifier does not refer to a starting date")); |