This commit is contained in:
Cheng Zheng
2026-01-12 11:50:52 +08:00
parent d606019cf5
commit 5708e95303

View File

@@ -139,7 +139,7 @@ def main():
content = repo.get_contents("README.md", ref="master")
readme_text = content.decoded_content.decode("utf-8")
today_str = datetime.now().strftime("%Y 年 %m 月 %d 号添加")
today_str = datetime.now().strftime("%Y 年 %-m 月 %-d 号添加")
date_header = f"### {today_str}"
if date_header not in readme_text: