UA 2005 then CZ 2502 at O'Hare
Pensacola → Chicago → Shanghai
Timetable, Chicago time
17:02UA 2005 from Pensacola at the gate
13:55CZ 2502 to Shanghai leaves the gate
20 h 53 apart on the timetable, overnight
CZ 2502 leaves 20 h 53 after UA 2005 arrives on the timetable: more than half a day, so not a connection we count.