mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 10:23:02 +00:00
Fix bug
This commit is contained in:
parent
483f043768
commit
a2fcae4383
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue