diff options
Diffstat (limited to 'src/times.cc')
-rw-r--r-- | src/times.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/times.cc b/src/times.cc index 5249c11c..851da938 100644 --- a/src/times.cc +++ b/src/times.cc @@ -709,12 +709,9 @@ void date_parser_t::determine_when(date_parser_t::lexer_t::token_t& tok, when += gregorian::years(amount * adjust); break; case lexer_t::token_t::TOK_QUARTER: - case lexer_t::token_t::TOK_QUARTERS: { - date_t temp = - date_duration_t::find_nearest(today, date_duration_t::QUARTERS); + case lexer_t::token_t::TOK_QUARTERS: when += gregorian::months(amount * 3 * adjust); break; - } case lexer_t::token_t::TOK_MONTH: case lexer_t::token_t::TOK_MONTHS: when += gregorian::months(amount * adjust); |