e
This commit is contained in:
parent
00000d9bbd
commit
00000d9d19
2 changed files with 0 additions and 6 deletions
|
|
@ -240,9 +240,6 @@ async def get_events(
|
||||||
elem.clear()
|
elem.clear()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if start_dt.date() != now.date():
|
|
||||||
continue
|
|
||||||
|
|
||||||
if not start_dt <= dt <= end_dt:
|
if not start_dt <= dt <= end_dt:
|
||||||
elem.clear()
|
elem.clear()
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -173,9 +173,6 @@ async def get_events(
|
||||||
|
|
||||||
end_dt = datetime.fromtimestamp(end_ts, tz=TZ) + timedelta(minutes=30)
|
end_dt = datetime.fromtimestamp(end_ts, tz=TZ) + timedelta(minutes=30)
|
||||||
|
|
||||||
if start_dt.date() != now.date():
|
|
||||||
continue
|
|
||||||
|
|
||||||
if not start_dt <= now < end_dt:
|
if not start_dt <= now < end_dt:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue