UA 858 then QF 3741 at San Francisco
Shanghai → San Francisco → San Diego
Timetable, San Francisco time
08:25UA 858 from Shanghai at the gatealso CA 7209
07:04QF 3741 to San Diego leaves the gate
22 h 39 apart on the timetable, overnight
QF 3741 leaves 22 h 39 after UA 858 arrives on the timetable: more than half a day, so not a connection we count.