#2071 LAS file. User can set date when LAS file date is invalid or missing

This commit is contained in:
Bjørn Erik Jensen
2017-11-01 10:29:03 +01:00
parent 073225e954
commit 593633cd6e
4 changed files with 64 additions and 29 deletions

View File

@@ -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())
{

View File

@@ -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())
{