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