This commit is contained in:
syuilo 2019-04-14 02:33:50 +09:00
parent 483f043768
commit a2fcae4383
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ function getTime(time: number) {
}
function getRandom() {
return counter.toString(36).padStart(2, '0').substr(2);
return counter.toString(36).padStart(2, '0').slice(-2);
}
export function genAid(date: Date): string {