Bug: today/tomorrow/day after colours in Statistics are wrong

It took me 5 years, but i just realised that in the Statistics tab, “today” is alway orange, “tomorrow” is always blue and the day after tomorrow is always green. This has no basis in logic, especially when you tenths of day of buffer.