AV 8591 then 9R 8902 at Bogotá
Riohacha → Bogota → PTX
Timetable, Bogota time
10:15AV 8591 from Riohacha at the gate
09:059R 8902 to PTX leaves the gate
22 h 50 apart on the timetable, overnight
9R 8902 leaves 22 h 50 after AV 8591 arrives on the timetable: more than half a day, so not a connection we count.