AA 1333 then CA 1018 at O'Hare
Philadelphia → Chicago → Shanghai
Timetable, Chicago time
23:30AA 1333 from Philadelphia at the gate
22:35CA 1018 to Shanghai leaves the gate
23 h 05 apart on the timetable, overnight
CA 1018 leaves 23 h 05 after AA 1333 arrives on the timetable: more than half a day, so not a connection we count.