AA 2202 then UA 6060 at O'Hare
Buffalo → Chicago → Lancaster
Timetable, Chicago time
20:00AA 2202 from Buffalo at the gate
16:55UA 6060 to Lancaster leaves the gate
20 h 55 apart on the timetable, overnight
UA 6060 leaves 20 h 55 after AA 2202 arrives on the timetable: more than half a day, so not a connection we count.