UA 3852 then QR 4274 at San Francisco
Ontario → San Francisco → San Diego
Timetable, San Francisco time
14:00UA 3852 from Ontario at the gate
08:20QR 4274 to San Diego leaves the gate
18 h 20 apart on the timetable, overnight
QR 4274 leaves 18 h 20 after UA 3852 arrives on the timetable: more than half a day, so not a connection we count.