UA 2794 then CA 1012 at O'Hare
Los Angeles → Chicago → Shanghai
Timetable, Chicago time
22:00UA 2794 from Los Angeles at the gate
21:20CA 1012 to Shanghai leaves the gate
23 h 20 apart on the timetable, overnight
CA 1012 leaves 23 h 20 after UA 2794 arrives on the timetable: more than half a day, so not a connection we count.