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