AS 3039 then QR 8796 at San Francisco
Santa Ana → San Francisco → San Diego
Timetable, San Francisco time
13:24AS 3039 from Santa Ana at the gate
11:53QR 8796 to San Diego leaves the gate
22 h 29 apart on the timetable, overnight
QR 8796 leaves 22 h 29 after AS 3039 arrives on the timetable: more than half a day, so not a connection we count.