AA 5158 then DL 1005 at Atlanta
Charlotte → Atlanta → Detroit
Timetable, Atlanta time
10:07AA 5158 from Charlotte at the gate
08:30DL 1005 to Detroit leaves the gate
22 h 23 apart on the timetable, overnight
DL 1005 leaves 22 h 23 after AA 5158 arrives on the timetable: more than half a day, so not a connection we count.