Save date only as date

This commit is contained in:
Adria Navarro 2024-05-22 14:35:19 +02:00
parent eac426f3c0
commit 4e67e05ad1
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ export const stringifyDate = (
const year = value.year()
const month = `${value.month() + 1}`.padStart(2, "0")
const day = `${value.date()}`.padStart(2, "0")
return `${year}-${month}-${day}T00:00:00.000`
return `${year}-${month}-${day}`
}
// Otherwise use a normal ISO string with time and timezone