UA 5477 then Y8 7456 at O'Hare
Kansas City → Chicago → Shanghai
Timetable, Chicago time
19:30UA 5477 from Kansas City at the gate
19:10Y8 7456 to Shanghai leaves the gate
23 h 40 apart on the timetable, overnight
Y8 7456 leaves 23 h 40 after UA 5477 arrives on the timetable: more than half a day, so not a connection we count.