Skip to content

Commit

Permalink
fix date string
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Apr 7, 2024
1 parent dc6b428 commit b4a76f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/dynamicIcon.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const dynamicIconHandler: Handler = (client) => {
const currentTime = Date.now() - startTime;
const currentProgress = currentTime / totalTime;
console.log(
`Current Progress at ${Date.now()} is ${currentProgress}`
`Current Progress at ${new Date().toLocaleString()} is ${currentProgress}`
);
message.guild?.setIcon(
await stream2buffer(await generateIcon(currentProgress / 2))
Expand Down

0 comments on commit b4a76f2

Please sign in to comment.