AA 7516 then QR 8796 at San Francisco
Palm Springs → San Francisco → San Diego
Timetable, San Francisco time
12:32AA 7516 from Palm Springs at the gate
11:53QR 8796 to San Diego leaves the gate
23 h 21 apart on the timetable, overnight
QR 8796 leaves 23 h 21 after AA 7516 arrives on the timetable: more than half a day, so not a connection we count.