Fix date formatting bug

This commit is contained in:
2025-04-29 14:28:50 +02:00
parent cac8318815
commit dbad1fd541

View File

@@ -77,7 +77,7 @@ export const formatDate = (
if (hours) { dateStr += " " + ("00" + date.getHours()).slice(-2) }
if (minutes) { dateStr += ":" + ("00" + date.getMinutes()).slice(-2) }
if (seconds) { dateStr += ":"+("00"+date.getMinutes()).slice(-2) }
if (seconds) { dateStr += ":" + ("00" + date.getSeconds()).slice(-2) }
return dateStr
}