AA 1078 then CZ 2508 at O'Hare
Phoenix → Chicago → Shanghai
Timetable, Chicago time
21:00AA 1078 from Phoenix at the gate
20:50CZ 2508 to Shanghai leaves the gate
23 h 50 apart on the timetable, overnight
CZ 2508 leaves 23 h 50 after AA 1078 arrives on the timetable: more than half a day, so not a connection we count.