Skip to content

Commit

Permalink
更新 gen_repo_update_time.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverWu515 authored Jan 5, 2025
1 parent 22d1291 commit d8d7980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_repo_update_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def save_latest_update(commit_info):
yymmdd = f'{datetime_object.year}{datetime_object.month}{datetime_object.day} 日'
message_line = commit_info["message"].split('\n')
result_content = f"""{{{{< update-info update_time="{yymmdd}" author="{commit_info['author']}" message="{message_line[0]}" >}}}}\n"""
with open('result.txt', 'w') as file:
with open('result_update_time.txt', 'w') as file:
file.write(result_content)


Expand Down

0 comments on commit d8d7980

Please sign in to comment.