UA 1531 then UA 8120 at San Francisco
Santa Ana → San Francisco → San Diego
Timetable, San Francisco time
20:02UA 1531 from Santa Ana at the gate
18:00UA 8120 to San Diego leaves the gate
21 h 58 apart on the timetable, overnight
UA 8120 leaves 21 h 58 after UA 1531 arrives on the timetable: more than half a day, so not a connection we count.