This commit is contained in:
Acid Chicken (硫酸鶏)
2018-12-19 21:20:25 +09:00
committed by syuilo
parent acc6f54557
commit c81a94ff75
14 changed files with 19 additions and 19 deletions

View File

@ -15,7 +15,7 @@ export default function(sec) {
const t
= tod < 60 ? `${Math.floor(tod)} sec`
: tod < 3600 ? `${Math.floor(tod / 60)} min`
: `${Math.floor(tod / 60 / 60)}:${Math.floor((tod / 60) % 60).toString().padStart(2, "0")}`;
: `${Math.floor(tod / 60 / 60)}:${Math.floor((tod / 60) % 60).toString().padStart(2, '0')}`;
let str = '';
if (d) str += `${d}, `;