remove second in chat timestamp (more plaesing to the eye this way)

master
Aevann 2023-09-26 13:39:15 +03:00
parent a03e1961d7
commit 8916ae279c
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
function formatDate(d) { function formatDate(d) {
return d.toLocaleTimeString() return d.toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'})
} }
for (const e of timestamps) { for (const e of timestamps) {