Show level, adjustment / penalty, user vote & sort by name, newest comments, least or most votes on minter & admin cards, & fix forum date / time format #3

Closed
Ghost wants to merge 6 commits from (deleted):testing-20250113 into main
Showing only changes of commit 11c7bfede7 - Show all commits

View File

@ -47,12 +47,12 @@ const timestampToHumanReadableDate = async(timestamp) => {
const date = new Date(timestamp)
const day = date.getDate()
const month = date.getMonth() + 1
const year = date.getFullYear() - 2000
const year = date.getFullYear()
const hours = date.getHours()
const minutes = date.getMinutes()
const seconds = date.getSeconds()
const formattedDate = `${month}.${day}.${year}@${hours}:${minutes}:${seconds}`
const formattedDate = `${year}.${month}.${day}@${hours}:${minutes}:${seconds}`
console.log('Formatted date:', formattedDate)
return formattedDate
}