diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-14 21:40:00 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-14 21:40:00 -0400 |
commit | 0c45d2739fafd1f7b93c2a826a00a81356be0c71 (patch) | |
tree | f449e6ec588523c93fbe1a1d9b35a34b64057c18 /src/lib/utils/BushLogger.ts | |
parent | 317fcc0126be8c4cbd4c6f51e37d014f9d2edf86 (diff) | |
download | tanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.tar.gz tanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.tar.bz2 tanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.zip |
fix logger day of month
Diffstat (limited to 'src/lib/utils/BushLogger.ts')
-rw-r--r-- | src/lib/utils/BushLogger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/BushLogger.ts b/src/lib/utils/BushLogger.ts index 21d10a0..4acda69 100644 --- a/src/lib/utils/BushLogger.ts +++ b/src/lib/utils/BushLogger.ts @@ -107,7 +107,7 @@ function getTimeStamp(): string { const now = new Date(); const minute = pad(now.getMinutes()); const hour = pad(now.getHours()); - const date = `${pad(now.getMonth() + 1)}/${pad(now.getDay())}`; + const date = `${pad(now.getMonth() + 1)}/${pad(now.getDate())}`; return `${date} ${hour}:${minute}`; } |