mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Lexer
- Lexer now makes a speculative legacy dateformat parse whenever it encounters a decimal digit. This assumes that rc.dateformat begins with a numeric date element, which is a restriction, but not a big one.
This commit is contained in:
parent
79576819c3
commit
592a3bb60f
3 changed files with 75 additions and 51 deletions
|
@ -641,6 +641,7 @@ void Context::staticInitialization ()
|
|||
Task::coefficients[*var] = config.getReal (*var);
|
||||
}
|
||||
|
||||
Lexer::dateFormat = config.get ("dateformat");
|
||||
Variant::dateFormat = config.get ("dateformat");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue