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