Skip to content

Incorrect Date flooring when passing date to getEvents endpoint #106

@mslipenchuk267

Description

@mslipenchuk267

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions