AA 2921 then CK 226 at O'Hare
Buffalo → Chicago → Shanghai
Timetable, Chicago time
19:00AA 2921 from Buffalo at the gate
14:09CK 226 to Shanghai leaves the gate
19 h 09 apart on the timetable, overnight
CK 226 leaves 19 h 09 after AA 2921 arrives on the timetable: more than half a day, so not a connection we count.