storage/FileInfo: convert mtime to std::chrono::system_clock::time_point

This commit is contained in:
Max Kellermann
2017-02-11 22:47:05 +01:00
parent 0ccaf4a1ff
commit 6636c69a11
12 changed files with 29 additions and 27 deletions

View File

@@ -88,7 +88,7 @@ Song::UpdateFile(Storage &storage)
return false;
}
mtime = info.mtime;
mtime = std::chrono::system_clock::to_time_t(info.mtime);
tag_builder.Commit(tag);
return true;
}