mirror of
https://github.com/UiO-Gaming/mustaboard.git
synced 2026-11-05 13:56:52 +01:00
remove obsolete date padding
This commit is contained in:
1 parent
01c98d3c2f
commit
82ed8afeaf
1 file changed
+1
-1
@@ -22,7 +22,7 @@ function TimeCard() {
|
||||
};
|
||||
|
||||
const formatDate = (date: Date) => {
|
||||
const day = date.getDate().toString().padStart(2, "0");
|
||||
const day = date.getDate().toString();
|
||||
const ending = findDateEnding(date);
|
||||
const monthText = date.toLocaleString("default", { month: "long" });
|
||||
const year = date.getFullYear();
|
||||
|
||||
Reference in new issue
Block a user