mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
feat: 修复单元测试失败 (#6165)
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -180,16 +180,16 @@ class SchedulerChain(ChainBase):
|
|||||||
|
|
||||||
message_cutoff = (
|
message_cutoff = (
|
||||||
started_at - timedelta(days=message_days)
|
started_at - timedelta(days=message_days)
|
||||||
).strftime("%Y-%m-%d %H:%M:%S")
|
).strftime("%Y-%m-%d")
|
||||||
download_history_cutoff = (
|
download_history_cutoff = (
|
||||||
started_at - timedelta(days=download_history_days)
|
started_at - timedelta(days=download_history_days)
|
||||||
).strftime("%Y-%m-%d %H:%M:%S")
|
).strftime("%Y-%m-%d")
|
||||||
site_userdata_cutoff = (
|
site_userdata_cutoff = (
|
||||||
started_at - timedelta(days=site_userdata_days)
|
started_at - timedelta(days=site_userdata_days)
|
||||||
).strftime("%Y-%m-%d")
|
).strftime("%Y-%m-%d")
|
||||||
transfer_history_cutoff = (
|
transfer_history_cutoff = (
|
||||||
started_at - timedelta(days=transfer_history_days)
|
started_at - timedelta(days=transfer_history_days)
|
||||||
).strftime("%Y-%m-%d %H:%M:%S")
|
).strftime("%Y-%m-%d")
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user