From 9f114660e123ce2100455c8ce4d6c2e412782773 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Mon, 8 Oct 2018 15:50:41 +0200 Subject: [PATCH] Simplify file name --- src/core/database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/database.cpp b/src/core/database.cpp index 21686f4..d89d156 100644 --- a/src/core/database.cpp +++ b/src/core/database.cpp @@ -43,7 +43,7 @@ void Database::newDb() fs::path sourcePath = dbname_; fs::path destPath = sourcePath.parent_path() / sourcePath.stem(); - destPath += std::string("_") += boost::posix_time::to_iso_extended_string(boost::posix_time::second_clock::local_time()) += ".db"; + destPath += std::string("_") += boost::posix_time::to_iso_string(boost::posix_time::second_clock::local_time()) += ".db"; fs::copy_file(sourcePath, destPath, fs::copy_options::overwrite_existing);