UA 5217 then QR 8796 at San Francisco
Spokane → San Francisco → San Diego
Timetable, San Francisco time
15:35UA 5217 from Spokane at the gatealso LH 8555, NZ 9454
11:53QR 8796 to San Diego leaves the gate
20 h 18 apart on the timetable, overnight
QR 8796 leaves 20 h 18 after UA 5217 arrives on the timetable: more than half a day, so not a connection we count.