mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support LAS-dates up to a 100 years into the future
This commit is contained in:
parent
024f3d020a
commit
8555efe7b3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user