UA 2313 then AF 8811 at San Francisco
San José (Costa Rica) → San Francisco → Los Angeles
Timetable, San Francisco time
14:42UA 2313 from San José (Costa Rica) at the gate
11:44AF 8811 to Los Angeles leaves the gate
21 h 02 apart on the timetable, overnight
AF 8811 leaves 21 h 02 after UA 2313 arrives on the timetable: more than half a day, so not a connection we count.