AA 5980 then AA 1597 at Philadelphia
Buffalo → Philadelphia → Charleston (South Carolina)
Timetable, Philadelphia time
20:35AA 5980 from Buffalo at the gate
18:37AA 1597 to Charleston (South Carolina) leaves the gate
22 h 02 apart on the timetable, overnight
AA 1597 leaves 22 h 02 after AA 5980 arrives on the timetable: more than half a day, so not a connection we count.