diff --git a/src/utils/utils.ts b/src/utils/utils.ts index b321eb0..e455cc1 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,7 +1,7 @@ import { toast } from 'sonner'; export const timestampToDateTime = (timestamp: number) => { - const date = new Date((timestamp * 1000) / 1000); + const date = new Date(timestamp * 1000); const year = date.getFullYear(); const month = ('0' + (date.getMonth() + 1)).slice(-2);