fix date() formatter
This commit is contained in:
parent
63e3a63a7c
commit
a4d772b81d
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ function date(date: Date | string, fmt: string = "dd/MM/YYYY"): string {
|
|||
.replace("YYYY", String(d.getFullYear()))
|
||||
.replace("HH", String(d.getHours()).padStart(2, "0"))
|
||||
.replace("mm", String(d.getMinutes()).padStart(2, "0"));
|
||||
},
|
||||
}
|
||||
|
||||
// ─── Bringer formatters ────────────────────────────────────────────────────────
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue