I am using fullcalendar, and when I click on an event I am passing its data to the fields of a modal, all the other data are shown in the corresponding inputs, except for the two datetime-local inputs that are not shown , nevertheless if I pass the data to another input it is displayed correctly (09/25/2017 5:20 PM). I think it can be the format, does anyone know how to solve it?
The format in which the data is being passed to the input is shown
Format in my Database
Javascript
eventClick: function(event, jsEvent, view) {
$('#event_id').val(event.id);
$('#id_mot2').val(event.mot);
$('#nombre_estudiante').val(event.estudiante);
$('#jc2').val(event.jefe_c);
$('#rut_estudiante').val(event.rut_estudiante)
//Estos son los dos campos datetime-local
$('#start_f').val(moment(event.start).format('DD/MM/YYYY HH:mm'));
$('#end_f').val(moment(event.end).format('DD/MM/YYYY HH:mm'));
$('#modal_editar').modal();
},