AA 1878 then AA 5949 at Charlotte
San Francisco → Charlotte → Harrisburg
Timetable, Charlotte time
16:34AA 1878 from San Francisco at the gate
16:13AA 5949 to Harrisburg leaves the gate
23 h 39 apart on the timetable, overnight
AA 5949 leaves 23 h 39 after AA 1878 arrives on the timetable: more than half a day, so not a connection we count.