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