Fix niceTime

pull/1054/head
Zef Hemel 2024-08-18 15:43:08 +02:00
parent 225443aef1
commit e9100c50f4
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ export function niceDate(d: Date): string {
}
export function niceTime(d: Date): string {
return localDateString(d).split("T")[1];
return localDateString(d).split("T")[1].split(".")[0];
}
export function safeTime(d: Date): string {