UA 3878 then UA 2764 at Houston
Chicago Rockford → Houston → San Francisco
Timetable, Houston time
23:27UA 3878 from Chicago Rockford at the gate
12:40UA 2764 to San Francisco leaves the gate
13 h 13 apart on the timetable, overnight
UA 2764 leaves 13 h 13 after UA 3878 arrives on the timetable: more than half a day, so not a connection we count.