BA 8341 then AS 2138 at San Francisco
New York JFK → San Francisco → Los Angeles
Timetable, San Francisco time
23:54BA 8341 from New York JFK at the gate
22:13AS 2138 to Los Angeles leaves the gate
22 h 19 apart on the timetable, overnight
AS 2138 leaves 22 h 19 after BA 8341 arrives on the timetable: more than half a day, so not a connection we count.