This commit is contained in:
parent
87b09af73e
commit
453a79a4e4
1 changed files with 8 additions and 1 deletions
|
@ -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 || [])
|
||||||
|
|
Loading…
Add table
Reference in a new issue