JA 5179 then AV 8428 at Bogotá
Santa Marta → Bogota → Riohacha
Timetable, Bogota time
23:30JA 5179 from Santa Marta at the gate
17:05AV 8428 to Riohacha leaves the gate
17 h 35 apart on the timetable, overnight
AV 8428 leaves 17 h 35 after JA 5179 arrives on the timetable: more than half a day, so not a connection we count.