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