AA 6312 then UA 5522 at O'Hare
Erie → Chicago → Kansas City
Timetable, Chicago time
09:10AA 6312 from Erie at the gate
08:40UA 5522 to Kansas City leaves the gate
23 h 30 apart on the timetable, overnight
UA 5522 leaves 23 h 30 after AA 6312 arrives on the timetable: more than half a day, so not a connection we count.