AV 8591 then P5 7256 at Bogotá
Riohacha → Bogota → Cali
Timetable, Bogota time
10:15AV 8591 from Riohacha at the gate
05:10P5 7256 to Cali leaves the gate
18 h 55 apart on the timetable, overnight
P5 7256 leaves 18 h 55 after AV 8591 arrives on the timetable: more than half a day, so not a connection we count.