Update zhaoan.py
This commit is contained in:
parent
eb8acd16c2
commit
9320781dc3
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ def calendar():
|
|||
y = nowdate.year
|
||||
m = nowdate.month
|
||||
d = nowdate.day
|
||||
zc = int(nowdate.strftime("%W")) - 1
|
||||
zc = int(nowdate.strftime("%W")) - 8
|
||||
|
||||
z = zmc[nowdate.weekday()]
|
||||
|
||||
|
@ -68,5 +68,5 @@ def calendar():
|
|||
if lunarday.Lleap:
|
||||
lunardaychinese = "闰" + lunardaychinese
|
||||
|
||||
cal = f"{m}月{d}日,{lunardaychinese},寒假第{zc}周,星期{z}\n\n距离 2022 考研还有 {djs} 天"
|
||||
cal = f"{m}月{d}日,{lunardaychinese},第{zc}教学周,星期{z}\n\n距离 2022 考研还有 {djs} 天"
|
||||
return cal
|
||||
|
|
Loading…
Reference in a new issue