UA 878 then UA 8120 at San Francisco
Hong Kong → San Francisco → San Diego
Timetable, San Francisco time
18:55UA 878 from Hong Kong at the gate
18:00UA 8120 to San Diego leaves the gate
23 h 05 apart on the timetable, overnight
UA 8120 leaves 23 h 05 after UA 878 arrives on the timetable: more than half a day, so not a connection we count.