We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c63b81 commit 3912e34Copy full SHA for 3912e34
1 file changed
html/static/index/js/app.js
@@ -93,11 +93,7 @@ var main = function() {
93
// Get within current limits
94
seconds = Math.floor(seconds % 60);
95
minutes = Math.floor(minutes % 60);
96
- console.log(Math.floor(hours), " --", Math.floor(hours % 24));
97
- if (hours - 24 >= 0)
98
- hours = Math.floor(hours);
99
- else
100
- hours = Math.floor(hours % 24);
+ hours = Math.floor(hours);
101
102
// Negative time protection
103
if (hours < 0 || minutes < 0 || seconds < 0) {
0 commit comments