UA 1777 then UA 115 at San Francisco
Newark → San Francisco → Papeete
Timetable, San Francisco time
12:27UA 1777 from Newark at the gatealso VA 8165, NZ 9131
11:55UA 115 to Papeete leaves the gate
23 h 28 apart on the timetable, overnight
UA 115 leaves 23 h 28 after UA 1777 arrives on the timetable: more than half a day, so not a connection we count.