UA 1248 then CA 1016 at O'Hare
San Francisco → Chicago → Shanghai
Timetable, Chicago time
11:24UA 1248 from San Francisco at the gate
23:30CA 1016 to Shanghai leaves the gate
12 h 06 apart on the timetable
CA 1016 leaves 12 h 06 after UA 1248 arrives on the timetable: more than half a day, so not a connection we count.