Fix: get ranking with date, time

This commit is contained in:
2018-05-24 18:22:20 +09:00
parent 8e2cf7f38f
commit 82e290db86
10 changed files with 85 additions and 21 deletions
+5
View File
@@ -20,4 +20,9 @@ class StringUtil {
return numberWithCommas + " 점";
}
static getNumberStartWithZero(number, digitCount) {
let n = number + '';
return n.length >= digitCount ? n : new Array(digitCount - n.length + 1).join('0') + n;
}
}