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