remove display of fractional seconds

This commit is contained in:
Olaf Leidinger 2014-02-19 00:36:14 +01:00
parent 0de5a5483c
commit fe5b801203

View File

@ -71,7 +71,7 @@ function formatTime(sec_num) {
let hours = Math.floor(sec_num / 3600);
let minutes = Math.floor((sec_num - (hours * 3600)) / 60);
let seconds = sec_num - (hours * 3600) - (minutes * 60);
let seconds = Math.round(sec_num - (hours * 3600) - (minutes * 60));
if (hours < 10) {hours = "0"+hours;}
if (minutes < 10) {minutes = "0"+minutes;}