mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7403 Replace fromTime_t with fromSecsSinceEpoch
This commit is contained in:
@@ -135,7 +135,7 @@ QDateTime RiaQDateTimeTools::fromYears( double years )
|
||||
QDateTime RiaQDateTimeTools::fromTime_t( time_t t )
|
||||
{
|
||||
auto qdt = createUtcDateTime();
|
||||
qdt.setTime_t( t );
|
||||
qdt.setSecsSinceEpoch( t );
|
||||
return qdt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user