update zhaoan

This commit is contained in:
SiHuan 2021-01-14 09:50:41 +08:00
parent e29f3a4991
commit 2c9b435bad

View file

@ -53,7 +53,7 @@ def calendar():
zmc = ["", "", "", "", "", "", ""] zmc = ["", "", "", "", "", "", ""]
nowdate = datetime.now() nowdate = datetime.now()
kaoyandate = datetime(2021,12,26) kaoyandate = datetime(2021,12,26)
djs = (kaoyandate - nowdate).days djs = (kaoyandate - nowdate).days - 1
y = nowdate.year y = nowdate.year
m = nowdate.month m = nowdate.month
d = nowdate.day d = nowdate.day