AA 882 then CA 1020 at O'Hare
Dallas-Fort Worth → Chicago → Shanghai
Timetable, Chicago time
23:59AA 882 from Dallas-Fort Worth at the gate
19:30CA 1020 to Shanghai leaves the gate
19 h 31 apart on the timetable, overnight
CA 1020 leaves 19 h 31 after AA 882 arrives on the timetable: more than half a day, so not a connection we count.