JU 8510 then UA 794 at San Francisco
New York JFK → San Francisco → San Diego
Timetable, San Francisco time
23:54JU 8510 from New York JFK at the gate
20:45UA 794 to San Diego leaves the gate
20 h 51 apart on the timetable, overnight
UA 794 leaves 20 h 51 after JU 8510 arrives on the timetable: more than half a day, so not a connection we count.