aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-14 21:40:00 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-14 21:40:00 -0400
commit0c45d2739fafd1f7b93c2a826a00a81356be0c71 (patch)
treef449e6ec588523c93fbe1a1d9b35a34b64057c18
parent317fcc0126be8c4cbd4c6f51e37d014f9d2edf86 (diff)
downloadtanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.tar.gz
tanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.tar.bz2
tanzanite-0c45d2739fafd1f7b93c2a826a00a81356be0c71.zip
fix logger day of month
-rw-r--r--src/lib/utils/BushLogger.ts2
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}`;
}