Javascript Convert 'yyyy-mm-ddTHH:mm:ssZ' to 'dd/MM/yyyy HH:mm:ss'
var date = event.event_start;
console.log(date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds());
console.log( event)
var d = event.event_start;
console.log(d.getFullYear()+ "-" + ("00" + (d.getMonth() + 1)).slice(-2) + "-" +("00" + d.getDate()).slice(-2)+" "+ ("00" + d.getHours()).slice(-2) + ":" +("00" + d.getMinutes()).slice(-2) + ":" + ("00" + d.getSeconds()).slice(-2));
// console.log('parte chata', event)
console.log('malucao event', JSON.stringify(event));