mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1966 : Use DATE if DATE is the only column present
This commit is contained in:
@@ -466,12 +466,14 @@ std::vector<std::string> RifEclipseUserDataParserTools::headerReader(std::string
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifEclipseUserDataParserTools::hasTimeUnit(const std::string& line)
|
||||
bool RifEclipseUserDataParserTools::hasTimeUnit(const std::string& word)
|
||||
{
|
||||
if (line == "DAYS" ||
|
||||
line == "DAY" ||
|
||||
line == "YEARS" ||
|
||||
line == "YEAR")
|
||||
if (word == "DAYS" ||
|
||||
word == "DAY" ||
|
||||
word == "YEARS" ||
|
||||
word == "YEAR" ||
|
||||
word == "DATE" ||
|
||||
word == "DATES")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user