AA 1011 then AA 2552 at Charlotte
Miami → Charlotte → Ontario
Timetable, Charlotte time
20:10AA 1011 from Miami at the gate
20:00AA 2552 to Ontario leaves the gate
23 h 50 apart on the timetable, overnight
AA 2552 leaves 23 h 50 after AA 1011 arrives on the timetable: more than half a day, so not a connection we count.