Description
Weird behavior occurs when hitting the getEvents endpoint at night. The endpoint doesn't return events made at night.
Expected Behavior
Refreshing event after making it that night should keep it on the map
Actual Behavior
Refreshing event after creating an event leads to event disappearing from the map -> indicating the backend is getting the wrong date
Proposed Fix
Properly floor date object when sending date param to getEvents endpoint.
Description
Weird behavior occurs when hitting the getEvents endpoint at night. The endpoint doesn't return events made at night.
Expected Behavior
Refreshing event after making it that night should keep it on the map
Actual Behavior
Refreshing event after creating an event leads to event disappearing from the map -> indicating the backend is getting the wrong date
Proposed Fix
Properly floor date object when sending date param to getEvents endpoint.