mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
change back to local time
This commit is contained in:
parent
bdbf0b1484
commit
ff765d5ae7
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user