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:
@@ -223,7 +223,7 @@ bool RiaDateStringParser::tryParseYear( const std::string& s, int& year )
|
|||||||
y += 2000;
|
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;
|
year = y;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user