mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2071 LAS file. User can set date when LAS file date is invalid or missing
This commit is contained in:
@@ -615,7 +615,7 @@ std::map<QDateTime, std::set<RifWellRftAddress> > RimWellPltPlot::timeStepsFromW
|
||||
{
|
||||
std::map<QDateTime, std::set<RifWellRftAddress> > timeStepsMap;
|
||||
|
||||
QDateTime timeStep = RiaDateStringParser::parseDateString(wellLogFile->date());
|
||||
QDateTime timeStep = wellLogFile->date();
|
||||
|
||||
if (timeStepsMap.count(timeStep) == 0)
|
||||
{
|
||||
@@ -779,7 +779,7 @@ std::pair<RifWellRftAddress, QDateTime> RimWellPltPlot::curveDefFromCurve(const
|
||||
|
||||
if (wellLogFile != nullptr)
|
||||
{
|
||||
const QDateTime date = RiaDateStringParser::parseDateString(wellLogFile->date());
|
||||
const QDateTime date = wellLogFile->date();
|
||||
|
||||
if (date.isValid())
|
||||
{
|
||||
|
||||
@@ -583,7 +583,7 @@ std::map<QDateTime, std::set<RifWellRftAddress> > RimWellRftPlot::timeStepsFromW
|
||||
{
|
||||
std::map<QDateTime, std::set<RifWellRftAddress> > timeStepsMap;
|
||||
|
||||
QDateTime timeStep = RiaDateStringParser::parseDateString(wellLogFile->date());
|
||||
QDateTime timeStep = wellLogFile->date();
|
||||
|
||||
if (timeStepsMap.count(timeStep) == 0)
|
||||
{
|
||||
@@ -745,7 +745,7 @@ std::pair<RifWellRftAddress, QDateTime> RimWellRftPlot::curveDefFromCurve(const
|
||||
|
||||
if (wellLogFile != nullptr)
|
||||
{
|
||||
const QDateTime date = RiaDateStringParser::parseDateString(wellLogFile->date());
|
||||
const QDateTime date = wellLogFile->date();
|
||||
|
||||
if (date.isValid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user