fs/FileInfo: use std::chrono::system_clock
This commit is contained in:
@@ -86,7 +86,7 @@ Stat(Path path, bool follow)
|
||||
info.type = StorageFileInfo::Type::OTHER;
|
||||
|
||||
info.size = src.GetSize();
|
||||
info.mtime = src.GetModificationTime();
|
||||
info.mtime = std::chrono::system_clock::to_time_t(src.GetModificationTime());
|
||||
#ifdef WIN32
|
||||
info.device = info.inode = 0;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user