News for hackers. Stuff that matters.
Re:Show HN: Nettu Scheduler – A self-hosted calendar and sch... by de6u99er on Monday March 29, 2021 @06:29PM (#26629095)
No problem. Took me 2 min to find it. I actually searched for the term "overlap" to see if you're doing it correctly ;)

At least you're using one if statement. Many do interval overlap comparisons with two if statements.

Re:Show HN: Nettu Scheduler – A self-hosted calendar and sch... by fmeringdal on Monday March 29, 2021 @06:34PM (#26629144)
Haha! I must admit that I also did two if statements the first time I implemented overlaps ;)