From 45ed06be64b569c5f83fb3d42a2471a290d72f7e Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Thu, 5 Jan 2023 15:35:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20!version=E6=97=B6=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BAcommit=5Ftime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/utils/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/updater.py b/pkg/utils/updater.py index 81a0b63e..819cb2ee 100644 --- a/pkg/utils/updater.py +++ b/pkg/utils/updater.py @@ -32,7 +32,7 @@ def get_current_version_info() -> str: for entry in repo.get_walker(): version_str += "提交编号: "+str(entry.commit.id)[2:9] + "\n" - version_str += "时间: "+time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(entry.commit.author_time)) + "\n" + version_str += "时间: "+time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(entry.commit.commit_time)) + "\n" version_str += "说明: "+str(entry.commit.message, encoding="utf-8").strip() + "\n" version_str += "提交作者: '" + str(entry.commit.author)[2:-1] + "'" break