AA 6486 then UA 2226 at O'Hare
Detroit → Chicago → Buffalo
Timetable, Chicago time
17:29AA 6486 from Detroit at the gate
14:18UA 2226 to Buffalo leaves the gate
20 h 49 apart on the timetable, overnight
UA 2226 leaves 20 h 49 after AA 6486 arrives on the timetable: more than half a day, so not a connection we count.