From 7177cc9482cb7acdfdc260694eac26ee17bbc833 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sat, 14 Sep 2024 09:39:35 +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 ff5d5f2..9c65120 100644 --- a/py/更新文件名.py +++ b/py/更新文件名.py @@ -15,7 +15,7 @@ def rename_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())