Changed to TimeMap api - using std::time_t

This commit is contained in:
Joakim Hove 2017-06-19 13:11:10 +02:00
parent 56cef57c8d
commit 66931cb030

View File

@ -58,9 +58,7 @@ namespace Opm
}
setCurrentStepNum(report_step);
boost::posix_time::ptime start_time = timeMap.getStartTime(0);
start_date_ = start_time.date();
start_date_ = boost::posix_time::from_time_t( timeMap.getStartTime(0)).date();
}
/// Whether the current step is the first step.