diff --git a/src/misc.ts b/src/misc.ts index 68c6a60..046693e 100644 --- a/src/misc.ts +++ b/src/misc.ts @@ -345,7 +345,7 @@ export const unixTimeToStr = (x: number | undefined | null) => { if (x === undefined || x === null || Number.isNaN(x)) { return undefined; } - return new Date(x).toISOString(); + return window.moment(x).format() as string; }; /**