mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
PdmStreamOperator. Set timespec to UTC for QDateTime fields during project load
This commit is contained in:
parent
bd5671d1ea
commit
f229ce5c23
@ -31,6 +31,7 @@ QTextStream& operator >> (QTextStream& str, QDateTime& value)
|
||||
QString text;
|
||||
str >> text;
|
||||
value = QDateTime::fromString(text, "yyyy_MM_dd-HH:mm:ss");
|
||||
value.setTimeSpec(Qt::UTC);
|
||||
return str;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user