Update BoardStats.jsx

This commit is contained in:
plebeius.eth
2023-08-28 10:51:39 +02:00
parent d50d27da7d
commit e5740ad885
+1 -1
View File
@@ -20,7 +20,7 @@ const BoardStats = ({ subplebbitAddress }) => {
const date = new Date(timestamp * 1000);
const month = ('0' + (date.getMonth() + 1)).slice(-2);
const day = ('0' + date.getDate()).slice(-2);
const year = date.getFullYear();
const year = date.getFullYear().toString().slice(-2);
return month + '/' + day + '/' + year;
};