diff --git a/packages/docs/content/docs/parsers/demos.tsx b/packages/docs/content/docs/parsers/demos.tsx index 5e34a5e6..fab14bcd 100644 --- a/packages/docs/content/docs/parsers/demos.tsx +++ b/packages/docs/content/docs/parsers/demos.tsx @@ -264,7 +264,7 @@ export function DateParserDemo({ if (e.target.value === '') { setValue(null) } else { - setValue(e.target.valueAsDate) + setValue(new Date(e.target.value)) } }} />