This commit is contained in:
wuaho 2021-08-25 19:26:27 +08:00
parent f6c8160424
commit a94c4319c5

View File

@ -608,7 +608,7 @@ ORDER BY values desc"""
# 任意事件
event_name_b = 1 if event_name_b == '*' else f"`#event_name` = '{event_name_b}'"
days = (arrow.get(self.event_view['endTime']).date() - arrow.get(self.event_view['startTime']).date()).days
days = (arrow.get(self.end_date).date() - arrow.get(self.start_date).date()).days
keep = []
cnt = []
for i in range(days+1):