JA 5179 then LA 4014 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
23:30JA 5179 from Santa Marta at the gate
16:30LA 4014 to Medellín leaves the gate
17 h apart on the timetable, overnight
LA 4014 leaves 17 h after JA 5179 arrives on the timetable: more than half a day, so not a connection we count.