QF 3771 then SQ 1491 at San Francisco
Los Angeles → San Francisco → New York JFK
Timetable, San Francisco time
14:40QF 3771 from Los Angeles at the gate
06:00SQ 1491 to New York JFK leaves the gate
15 h 20 apart on the timetable, overnight
SQ 1491 leaves 15 h 20 after QF 3771 arrives on the timetable: more than half a day, so not a connection we count.