neilfr / Scorekeeper

Hockey scorekeeper application that simplifies game data capture, provides real-time updates and replaces the need for hardcopy scoresheets
https://ancient-headland-43747.herokuapp.com/
1 stars 1 forks source link

gameselect screen - all goals show invalid date for the goal scored time #73

Closed neilfr closed 5 years ago

chrisfernandes123 commented 5 years ago

Completed. I created a function called formatGoalTime in the gameselect.html javascript section. The function formatGoalTime takes the timeRemaining as a parameter and uses Neil's logic from scorekeeper.js to derive the minutes, seconds, an 10th seconds. The function formatGoalTime returns a string that looks like 04:57:2.