MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getLastModifiedAsString

Method getLastModifiedAsString

src/Mod/Start/App/FileUtilities.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99std::string Start::getLastModifiedAsString(const Base::FileInfo& file)
100{
101 Base::TimeInfo lastModified = file.lastModified();
102 return QDateTime::fromSecsSinceEpoch(lastModified.getTime_t())
103 .toTimeZone(QTimeZone::utc())
104 .toString(Qt::ISODate)
105 .toStdString();
106}

Callers

nothing calls this directly

Calls 4

lastModifiedMethod · 0.80
toStdStringMethod · 0.80
getTime_tMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected