Closed torashen closed 5 months ago
发布时间这里减反了吧
2 changes: 1 addition & 1 deletion2
app/utils/string.py
@@ -743,7 +743,7 @@ def diff_time_str(time_str: str):
try:
time_obj = datetime.datetime.strptime(time_str, '%Y-%m-%d %H:%M:%S')
except ValueError:
return ''
return time_str
now = datetime.datetime.now()
diff = time_obj - now
diff_seconds = diff.seconds
@whogh monika就不是标准的时间,不会走到这里啊,网站显示是啥就是啥,不是吗?
但是其他站也出问题吧, 应该 发布时间间隔=当前时间 - 网站上显示的发布时间 因为之前一直是负数,日志显示 brushflow - 种子没有通过刷流条件校验,原因:发布时间 0 分钟前,不在指定范围内 diff = now - time_obj
@whogh 举个例子?其它站抓取的是免费到期时间啊
确认
当前程序版本
v1.8.1-1
运行环境
Docker
问题类型
主程序运行问题
问题描述
莫妮卡无法正确识别促销状态以及种子发布时间
发生问题时系统日志和配置文件
No response