JA 5161 then AV 8580 at Bogotá
Cartagena → Bogota → Valledupar
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
20:10AV 8580 to Valledupar leaves the gate
20 h 55 apart on the timetable, overnight
AV 8580 leaves 20 h 55 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.