24h format and seconds

This commit is contained in:
mrbesen 2022-06-08 00:30:00 +02:00
parent 19e7009e49
commit cd1ba2a923
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,9 @@ export function formatTime(date: Date) {
date,
options: {
hour: '2-digit',
minute: '2-digit'
minute: '2-digit',
second: '2-digit',
hour12: false
}
}).element;
}