I didn't mean to do two things at once here, but I did. I fixed the issue of competitions displaying the incorrect start time and also fixed the issue if competitions not starting the timer when the competition started. While I was there, I went ahead and cleaned up the code that displays the timer and added variables to denote different states of the competition, active, as in "ongoing", and ended. This enabled me to hide the problems before the competition started on the scoreboard page, showing them once the clock starts ticking.
I didn't mean to do two things at once here, but I did. I fixed the issue of competitions displaying the incorrect start time and also fixed the issue if competitions not starting the timer when the competition started. While I was there, I went ahead and cleaned up the code that displays the timer and added variables to denote different states of the competition,
active
, as in "ongoing", andended
. This enabled me to hide the problems before the competition started on the scoreboard page, showing them once the clock starts ticking.Fixes #55