Support LAS-dates up to a 100 years into the future

This commit is contained in:
Gaute Lindkvist 2020-01-22 09:30:30 +01:00
parent 024f3d020a
commit 8555efe7b3

View File

@ -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;