UA 2137 then Y8 7456 at O'Hare
Madison → Chicago → Shanghai
Timetable, Chicago time
07:44UA 2137 from Madison at the gate
01:35Y8 7456 to Shanghai leaves the gate
17 h 51 apart on the timetable, overnight
Y8 7456 leaves 17 h 51 after UA 2137 arrives on the timetable: more than half a day, so not a connection we count.