From 50300cd5aab16257a900658f022ac33ea992cef9 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:57:43 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/更新文件名.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/更新文件名.py b/py/更新文件名.py index 6d90c35..7c13daf 100644 --- a/py/更新文件名.py +++ b/py/更新文件名.py @@ -22,7 +22,7 @@ def delete_nonstandard_files(): def rename_standard_files(): # 获取当前日期时间 now = datetime.datetime.now() - current_date = now.strftime("%m%d%H%M") + current_date = now.strftime("%m%d") # 获取当前目录下的所有文件 all_files = os.listdir(os.getcwd())