AA 1918 then CA 1056 at O'Hare
Miami → Chicago → Shanghai
Timetable, Chicago time
23:56AA 1918 from Miami at the gate
22:05CA 1056 to Shanghai leaves the gate
22 h 09 apart on the timetable, overnight
CA 1056 leaves 22 h 09 after AA 1918 arrives on the timetable: more than half a day, so not a connection we count.