Fix: get ranking with date, time
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user