UA 5986 then QR 8796 at San Francisco
Burbank → San Francisco → San Diego
Timetable, San Francisco time
20:13UA 5986 from Burbank at the gate
11:53QR 8796 to San Diego leaves the gate
15 h 40 apart on the timetable, overnight
QR 8796 leaves 15 h 40 after UA 5986 arrives on the timetable: more than half a day, so not a connection we count.