因PushPlus推送服务在近期增加了:敏感词屏蔽、不实名就无法使用、实名需要收费等等严重影响用户体验的功能,所以本项目后续将使用Showdoc推送服务。

This commit is contained in:
NianBroken
2024-07-25 00:02:28 +08:00 Unverified
parent a03747b00d
commit 0a8b883b2e
28 changed files with 132 additions and 64 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ class GitHubActionsManager:
break
def log(self, message):
current_time_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S:%f")[:-3] # 获取当前时间,精确到三位毫秒
beijing_time = datetime.now(timezone.utc).astimezone(timezone(timedelta(hours=8))) # 获取北京时间
current_time_str = beijing_time.strftime("%Y-%m-%d %H:%M:%S:%f")[:-3] # 获取当前时间,精确到三位毫秒
print(f"{current_time_str} {message}") # 打印日志消息