LA 6139 then UA 2376 at San Francisco
Boston → San Francisco → Newark
Timetable, San Francisco time
23:58LA 6139 from Boston at the gate
23:15UA 2376 to Newark leaves the gate
23 h 17 apart on the timetable, overnight
UA 2376 leaves 23 h 17 after LA 6139 arrives on the timetable: more than half a day, so not a connection we count.