From d0f152ba973d2d52db54e75798aeb4adef765949 Mon Sep 17 00:00:00 2001 From: LZY Date: Tue, 25 Apr 2023 09:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E6=88=AA=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }