UA 546 then CA 1020 at O'Hare
Newark → Chicago → Shanghai
Timetable, Chicago time
22:18UA 546 from Newark at the gate
19:30CA 1020 to Shanghai leaves the gate
21 h 12 apart on the timetable, overnight
CA 1020 leaves 21 h 12 after UA 546 arrives on the timetable: more than half a day, so not a connection we count.