mirror of
https://github.com/1c7/chinese-independent-developer.git
synced 2026-01-13 10:45:56 +08:00
fix
This commit is contained in:
2
.github/scripts/process_item.py
vendored
2
.github/scripts/process_item.py
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user