feat: 修复单元测试失败 (#6165)

Co-authored-by: traeagent <traeagent@users.noreply.github.com>
This commit is contained in:
jxxghp
2026-07-21 07:41:34 +08:00
committed by GitHub
parent 7c2390908a
commit 318d2ab7d7

View File

@@ -180,16 +180,16 @@ class SchedulerChain(ChainBase):
message_cutoff = (
started_at - timedelta(days=message_days)
).strftime("%Y-%m-%d %H:%M:%S")
).strftime("%Y-%m-%d")
download_history_cutoff = (
started_at - timedelta(days=download_history_days)
).strftime("%Y-%m-%d %H:%M:%S")
).strftime("%Y-%m-%d")
site_userdata_cutoff = (
started_at - timedelta(days=site_userdata_days)
).strftime("%Y-%m-%d")
transfer_history_cutoff = (
started_at - timedelta(days=transfer_history_days)
).strftime("%Y-%m-%d %H:%M:%S")
).strftime("%Y-%m-%d")
return [
{