« first day (4841 days earlier)   
00:00 - 08:0009:00 - 15:00

9:26 AM
0
Q: Visually arrange multi-day events on a calendar

Nicola SapThe arrangement algorithm I think I've determined the algorithm that Google Calendar uses to visually arrange day-long and longer events at the top of the "Week" view (you may have an example here) and it seems to be: Sort all events by starting date (earlier first); if same starting date, sort ...

 
 
2 hours later…
11:17 AM
@lyxal oh, i thought the mistake was i >= 0 is always true because i is an uint
 
I mean, that's probably actually more likely
@ATaco is it the off by 1 error or the uint always being > 0 infinite loop?
 
 
3 hours later…
00:00 - 08:0009:00 - 15:00

« first day (4841 days earlier)