AA 5585 then AA 2227 at Charlotte
Louisville → Charlotte → San Diego
Timetable, Charlotte time
20:41AA 5585 from Louisville at the gate
19:24AA 2227 to San Diego leaves the gate
22 h 43 apart on the timetable, overnight
AA 2227 leaves 22 h 43 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.