diff --git a/main.cpp b/main.cpp index d4d6e5f..ab6545f 100644 --- a/main.cpp +++ b/main.cpp @@ -136,7 +136,7 @@ long long get_file_timestamp(const std::string& strPath) } fs::path path(strPath); str = path.filename().string(); - auto strTime = str.substr(0, 15); + auto strTime = str.substr(0, 14); std::remove(strTime.begin(), strTime.end(), '_'); return std::atoll(strTime.c_str()); }