Fix timestamps in sist2-admin #359

This commit is contained in:
2023-05-25 20:51:06 -04:00
parent 6bf2b4c74d
commit f0fd708082
5 changed files with 11 additions and 13 deletions

View File

@@ -44,8 +44,7 @@ export default {
return "";
}
const date = Date.parse(dateString);
return moment(date).fromNow();
return moment.utc(dateString).local().fromNow();
}
}
}