Fix date formatting bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user