调整时段过滤规则为半个小时
This commit is contained in:
parent
9d53994f65
commit
0452dae766
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue