Base: Use std::chrono for time handling
Replace platform specific implementations with standard C++ std::chrono. As time_t is now 64-bit on all supported systems, use it to set the clock.
This commit is contained in:
@@ -1799,7 +1799,7 @@ private:
|
||||
if (useFCBakExtension) {
|
||||
std::stringstream str;
|
||||
Base::TimeInfo ti = fi.lastModified();
|
||||
time_t s =ti.getSeconds();
|
||||
time_t s = ti.getTime_t();
|
||||
struct tm * timeinfo = localtime(& s);
|
||||
char buffer[100];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user