QF 3657 then LH 7496 at San Francisco
New York JFK → San Francisco → Los Angeles
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
21:20LH 7496 to Los Angeles leaves the gate
21 h 21 apart on the timetable, overnight
LH 7496 leaves 21 h 21 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.