mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Lexer
- Shut off the depletion requiremeent for lexed dates.
This commit is contained in:
parent
3639226233
commit
be6ec99fcb
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ bool Lexer::is_date (std::string& result)
|
|||
legacy_i = _input.length ();
|
||||
|
||||
std::string legacy_result = _input.substr (_shift_counter, legacy_i - _shift_counter);
|
||||
Date legacyDate (legacy_result, Lexer::dateFormat, false, false);
|
||||
Date legacyDate (legacy_result, Lexer::dateFormat, false, false, false);
|
||||
|
||||
legacy_i -= _shift_counter;
|
||||
while (legacy_i--) shift ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue