remove obsolete date padding

This commit is contained in:
centauridesigns committed 2024-11-10 19:21:06 +01:00
1 parent 01c98d3c2f
commit 82ed8afeaf
1 file changed
+1 -1
+1 -1
View File
@@ -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();