AF 2152 then AC 5432 at San Francisco
New York JFK → San Francisco → Chicago O'Hare
Timetable, San Francisco time
01:15AF 2152 from New York JFK at the gate
22:45AC 5432 to Chicago O'Hare leaves the gatealso VA 8105
21 h 30 apart on the timetable
AC 5432 leaves 21 h 30 after AF 2152 arrives on the timetable: more than half a day, so not a connection we count.