UA 2363 then BA 5608 at San Francisco
Ontario → San Francisco → Los Angeles
Timetable, San Francisco time
07:30UA 2363 from Ontario at the gatealso AC 4080
07:00BA 5608 to Los Angeles leaves the gate
23 h 30 apart on the timetable, overnight
BA 5608 leaves 23 h 30 after UA 2363 arrives on the timetable: more than half a day, so not a connection we count.