Open aliowacom opened 2 years ago
Bug #11
There was no check if event starting time is before than event ending time, which led to grid rendering bug.
What changed:
[x] checks if starts_at actually comes before ends_at. If not it throws InvalidArgumentException
[x] while getting conflicting events, it treats ends_at midnight as 0:00 of next day, which doesn't overlap anymore with other events.
Bug #11
There was no check if event starting time is before than event ending time, which led to grid rendering bug.
What changed:
[x] checks if starts_at actually comes before ends_at. If not it throws InvalidArgumentException
[x] while getting conflicting events, it treats ends_at midnight as 0:00 of next day, which doesn't overlap anymore with other events.