Date/ISO8601
- Changed the order of parsing from ISO, Date to Date, ISO. This favors the old dateformat mechanism more than the new one. One day this will flip.
This commit is contained in:
@@ -130,7 +130,7 @@ bool Lexer::token (std::string& result, Type& type)
|
||||
space = _input.length ();
|
||||
|
||||
std::string legacy = _input.substr (start, space - start);
|
||||
Date legacyDate (legacy, Lexer::dateFormat, false, false);
|
||||
Date legacyDate (legacy, Lexer::dateFormat, true, false);
|
||||
|
||||
space -= start;
|
||||
while (space--) shift ();
|
||||
|
||||
Reference in New Issue
Block a user