diff --git a/src/components/BoardStats.jsx b/src/components/BoardStats.jsx index 3d962cb9..1994b148 100644 --- a/src/components/BoardStats.jsx +++ b/src/components/BoardStats.jsx @@ -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; };