WN 4955 then QR 8796 at San Francisco
San Diego → San Francisco → San Diego
Timetable, San Francisco time
12:50WN 4955 from San Diego at the gate
11:53QR 8796 to San Diego leaves the gate
23 h 03 apart on the timetable, overnight
QR 8796 leaves 23 h 03 after WN 4955 arrives on the timetable: more than half a day, so not a connection we count.