JA 5171 then AV 9227 at Bogotá
Santa Marta → Bogota → Cali
Timetable, Bogota time
14:35JA 5171 from Santa Marta at the gate
12:00AV 9227 to Cali leaves the gate
21 h 25 apart on the timetable, overnight
AV 9227 leaves 21 h 25 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.