UA 511 then CA 1018 at O'Hare
Washington National → Chicago → Shanghai
Timetable, Chicago time
14:27UA 511 from Washington National at the gate
03:00CA 1018 to Shanghai leaves the gate
12 h 33 apart on the timetable, overnight
CA 1018 leaves 12 h 33 after UA 511 arrives on the timetable: more than half a day, so not a connection we count.