JS Tolocalestring avec des heures
var dateWithouthSecond = new Date();
dateWithouthSecond.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'});
Lucas Juan
var dateWithouthSecond = new Date();
dateWithouthSecond.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'});