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