From 8555efe7b3da24b9eee9de83eeead14c9fa1ba31 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Wed, 22 Jan 2020 09:30:30 +0100 Subject: [PATCH] Support LAS-dates up to a 100 years into the future --- ApplicationCode/Application/Tools/RiaDateStringParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/Application/Tools/RiaDateStringParser.cpp b/ApplicationCode/Application/Tools/RiaDateStringParser.cpp index 22d8aaeb72..4f61fbd12c 100644 --- a/ApplicationCode/Application/Tools/RiaDateStringParser.cpp +++ b/ApplicationCode/Application/Tools/RiaDateStringParser.cpp @@ -223,7 +223,7 @@ bool RiaDateStringParser::tryParseYear( const std::string& s, int& year ) y += 2000; } - if ( y > 1970 && y <= today.year() + 50 ) // Support dates 50 years into the future. + if ( y > 1970 && y <= today.year() + 100 ) // Support dates 100 years into the future. { year = y;