to 24h
All checks were successful
Code quality checks / biome (push) Successful in 13s

This commit is contained in:
creations 2025-05-10 12:54:57 -04:00
parent 87b09af73e
commit 453a79a4e4
Signed by: creations
GPG key ID: 8F553AA4320FC711

View file

@ -154,7 +154,14 @@ async function populateReviews(userId, page = 1) {
const avatar = sender.profilePhoto; const avatar = sender.profilePhoto;
const comment = review.comment; const comment = review.comment;
const timestamp = review.timestamp const timestamp = review.timestamp
? new Date(review.timestamp * 1000).toLocaleString() ? new Date(review.timestamp * 1000).toLocaleString(undefined, {
hour12: false,
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
})
: "N/A"; : "N/A";
const badges = (sender.badges || []) const badges = (sender.badges || [])