Skip to content

Commit

Permalink
fix: link shortener date formatting (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-stein authored Jan 25, 2025
1 parent 666344e commit 2209f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(app)/admin/links/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
{d.tags.join(", ")}
</td>
<td>
{date.getFullYear()}-{String(date.getMonth()).padStart(
{date.getFullYear()}-{String(date.getMonth() + 1).padStart(
2,
"0",
)}-{String(date.getDate()).padStart(2, "0")}
Expand Down

0 comments on commit 2209f1a

Please sign in to comment.