UA 862 then QR 8795 at San Francisco
Hong Kong → San Francisco → Los Angeles
Timetable, San Francisco time
07:05UA 862 from Hong Kong at the gate
06:40QR 8795 to Los Angeles leaves the gate
23 h 35 apart on the timetable, overnight
QR 8795 leaves 23 h 35 after UA 862 arrives on the timetable: more than half a day, so not a connection we count.