сделать минуты, есть 0 в javaScript
String(date.getMinutes()).padStart(2, "0");
sets expected result as having two digits, if one is missing replace it with 0;
Bored Butterfly