AA 2311 then TN 111 at LAX
Miami → Los Angeles → Papeete
Timetable, Los Angeles time
22:54AA 2311 from Miami at the gate
22:45TN 111 to Papeete leaves the gate
23 h 51 apart on the timetable, overnight
TN 111 leaves 23 h 51 after AA 2311 arrives on the timetable: more than half a day, so not a connection we count.