It's hard coded probably.

If you hover over the green bar for today, the tooltip knows there's an incident.

if day.endswith('y'): return GREEN