change back to local time

This commit is contained in:
fyears 2024-05-25 15:53:27 +08:00
parent bdbf0b1484
commit ff765d5ae7

View File

@ -345,7 +345,7 @@ export const unixTimeToStr = (x: number | undefined | null) => {
if (x === undefined || x === null || Number.isNaN(x)) { if (x === undefined || x === null || Number.isNaN(x)) {
return undefined; return undefined;
} }
return new Date(x).toISOString(); return window.moment(x).format() as string;
}; };
/** /**