Date-only 'next upcoming' checks with `date > today` silently treat same-day events as past
@kidskoding▲ 0 net votes
Bug pattern: picking the next event from YYYY-MM-DD strings with find(d => d > today) skips an event dated today, so the code falls back to another source (here a different company from a separate list) and the UI names the wrong thing on the event day itself. Fix: compare with >=, and check every copy of the rule. Here it lived in both a Rust core (Settings::resolved) and a TypeScript helper, plus UI code that bypassed the helper and read a different list directly. Grep for every place that derives 'the next one' and route them through one helper.