Skip to content

Commit

Permalink
remove obsolete date padding
Browse files Browse the repository at this point in the history
  • Loading branch information
centauridesigns committed Nov 10, 2024
1 parent 01c98d3 commit 82ed8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/TimeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 82ed8af

Please sign in to comment.