diff --git a/packages/core/helper-plugin/lib/src/components/GenericInput/index.js b/packages/core/helper-plugin/lib/src/components/GenericInput/index.js index c5d3cab39c..f90994ccec 100644 --- a/packages/core/helper-plugin/lib/src/components/GenericInput/index.js +++ b/packages/core/helper-plugin/lib/src/components/GenericInput/index.js @@ -167,7 +167,7 @@ const GenericInput = ({ hint={hint} name={name} onChange={date => { - const formattedDate = date.toISOString(); + const formattedDate = date.toISOString().split('T')[0]; onChange({ target: { name, value: formattedDate, type } }); }}