UA 3797 then UA 8120 at San Francisco
Louisville → San Francisco → San Diego
Timetable, San Francisco time
22:20UA 3797 from Louisville at the gate
18:00UA 8120 to San Diego leaves the gate
19 h 40 apart on the timetable, overnight
UA 8120 leaves 19 h 40 after UA 3797 arrives on the timetable: more than half a day, so not a connection we count.