Skip to content
Snippets Groups Projects
Commit 5ee9038d authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Fixed offset

parent dd8b0910
No related branches found
No related tags found
No related merge requests found
Pipeline #57098 failed
...@@ -34,7 +34,7 @@ function DateVisibilityInput({ date, onDateChange }: DateVisibilityInputProps) { ...@@ -34,7 +34,7 @@ function DateVisibilityInput({ date, onDateChange }: DateVisibilityInputProps) {
return ( return (
date.getFullYear() + date.getFullYear() +
"-" + "-" +
date.getMonth().toString().padStart(2, "0") + (date.getMonth() + 1).toString().padStart(2, "0") +
"-" + "-" +
date.getDate().toString().padStart(2, "0") date.getDate().toString().padStart(2, "0")
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment