JA 5186 then JA 5118 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
10:00JA 5186 from Santa Marta at the gate
05:20JA 5118 to Medellín leaves the gate
19 h 20 apart on the timetable, overnight
JA 5118 leaves 19 h 20 after JA 5186 arrives on the timetable: more than half a day, so not a connection we count.