mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-08 13:20:01 +08:00
gold_readbag and russian
This commit is contained in:
@@ -26,7 +26,7 @@ def is_expired(data: dict):
|
||||
start_date = datetime.strptime(times[0], '%Y-%m-%d').date()
|
||||
end_date = datetime.strptime(times[1], '%Y-%m-%d').date()
|
||||
now = datetime.now().date()
|
||||
return start_date < now < end_date
|
||||
return start_date <= now <= end_date
|
||||
|
||||
|
||||
# 检查写入
|
||||
|
||||
Reference in New Issue
Block a user