I\'m currently attempting to display the user\'s time without displaying the seconds. Is there a way I can do this using Javascript\'s .toLocaleTimeString()?
Doing s
With locales :
var date = new Date(); date.toLocaleTimeString('fr-FR', {hour: '2-digit', minute: '2-digit'})