diff --git a/assets/scripts/iguana_api.js b/assets/scripts/iguana_api.js index fe05ce1..74cf9e5 100644 --- a/assets/scripts/iguana_api.js +++ b/assets/scripts/iguana_api.js @@ -939,8 +939,8 @@ function secondsToString(seconds) { year = a.getFullYear(), month = months[a.getMonth()], date = a.getDate(), - hour = a.getHours(), - min = a.getMinutes(), + hour = a.getHours() < 10 ? '0' + a.getHours() : a.getHours(), + min = a.getMinutes() < 10 ? '0' + a.getMinutes() : a.getMinutes(), sec = a.getSeconds(), time = date + ' ' + month + ' ' + year + ' ' + hour + ':' + min + ':' + sec; return time; diff --git a/index.html b/index.html index f8c13b0..73a46ad 100755 --- a/index.html +++ b/index.html @@ -1,78 +1,69 @@ -
- - - - - -