fix end_date
This commit is contained in:
parent
c8bc3cc68a
commit
f08bdd5f0a
@ -195,7 +195,7 @@ async def search_events(authorize: Annotated[bool, Depends(permissions_checker.P
|
|||||||
date_selected = True
|
date_selected = True
|
||||||
if start_date is not None and end_date is not None:
|
if start_date is not None and end_date is not None:
|
||||||
start_of_day = datetime.combine(start_date, datetime.min.time()) # 2024-11-23 00:00:00
|
start_of_day = datetime.combine(start_date, datetime.min.time()) # 2024-11-23 00:00:00
|
||||||
end_of_day = datetime.combine(dateend_date_event, datetime.max.time())
|
end_of_day = datetime.combine(end_date, datetime.max.time())
|
||||||
date_selected = True
|
date_selected = True
|
||||||
if min_lat is not None and max_lat is not None and min_lon is not None and max_lon is not None:
|
if min_lat is not None and max_lat is not None and min_lon is not None and max_lon is not None:
|
||||||
object_search = {
|
object_search = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user