UA 5977 then CZ 2502 at O'Hare
Roanoke → Chicago → Shanghai
Timetable, Chicago time
15:10UA 5977 from Roanoke at the gate
13:55CZ 2502 to Shanghai leaves the gate
22 h 45 apart on the timetable, overnight
CZ 2502 leaves 22 h 45 after UA 5977 arrives on the timetable: more than half a day, so not a connection we count.