AA 3012 then CA 1012 at O'Hare
Pittsburgh → Chicago → Shanghai
Timetable, Chicago time
21:29AA 3012 from Pittsburgh at the gate
21:20CA 1012 to Shanghai leaves the gate
23 h 51 apart on the timetable, overnight
CA 1012 leaves 23 h 51 after AA 3012 arrives on the timetable: more than half a day, so not a connection we count.