From a9f44d49cc831eecd540f849c70555b8d82e1251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E5=B7=9D?= Date: Tue, 4 Jan 2022 10:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E4=B8=89=E5=B9=B4?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=9C=9F=E5=B9=B4=E5=BA=A6=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/scripts.py b/input/scripts.py index e7d2e89..75ce93e 100644 --- a/input/scripts.py +++ b/input/scripts.py @@ -29,7 +29,7 @@ def make_3_report_dates(): Returns: report_dates 三年报告期 """ - current_year = int(time.strftime("%Y", time.localtime())) + current_year = int(time.strftime("%Y", time.localtime()))-1 date_01 = str(current_year) + '-12-31' date_02 = str(current_year-1) + '-12-31' date_03 = str(current_year-2) + '-12-31'