I made a form asking for a date and time and returning a date and time minus a given amount of minutes
I would like to be able to display just the time –date doesn't matter in this case–, and i found out "datetime-local" doesn't work in Firefox. What would be the way to make something that works in firefox?
function finishedBake() {
  let time = new Date(document.getElementById("finishedbaking").value)
  time.setMinutes(time.getMinutes() - 634)
  var options = {
    hour: '2-digit',
    minute: '2-digit'
  };
  document.getElementById("finished").innerHTML = time.toLocaleDateString("no-NB", options)
}<div id="bakestart">
  <div>if I want it to be finished at
    <input type="datetime-local" id="finishedbaking" required />
    <input type="submit" onclick="finishedBake()" /> i need to start at <span id="finished"></span>
  </div>
</div> 
    