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