Fix db filename

This commit is contained in:
Martin Brodbeck 2022-09-26 12:40:21 +02:00
parent 1720dbba8b
commit 7299ae7c66
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ void Database::newDb()
fs::path destPath = sourcePath.parent_path() / sourcePath.stem();
auto chronoTime = std::chrono::system_clock::now();
std::string timeString = fmt::format("{0:%F}T{0:%T}", chronoTime);
std::string timeString = fmt::format("{0:%FT%H-%M-%S}", chronoTime);
destPath += std::string("_") += timeString += ".db";