调整时段过滤规则为半个小时

This commit is contained in:
wangxu 2025-12-09 15:50:37 +08:00
parent 9d53994f65
commit 0452dae766
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ def is_overlap_greater_than_one_hour(startHm, endHm, time_range):
if overlap_start < overlap_end:
overlap_duration = overlap_end - overlap_start
return overlap_duration >= 60 # 重叠时长大于等于60分钟返回True
return overlap_duration >= 30 # 重叠时长大于等于60分钟返回True 调整为半个小时
else:
return False