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