- Legacy date parsing should not permis ISO and epoch inputs.
This commit is contained in:
Paul Beckingham 2014-06-29 09:55:31 -04:00
parent 9b03e8f9f7
commit 5150e49f67

View file

@ -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, true, false);
Date legacyDate (legacy_result, Lexer::dateFormat, false, false);
legacy_i -= _shift_counter;
while (legacy_i--) shift ();