We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892cc7e commit ece9f73Copy full SHA for ece9f73
packages/ui-components/src/lib/inputs/InputDate/InputDate.tsx
@@ -52,7 +52,7 @@ export const InputDate: FC<InputDateProps> = ({
52
onChange={(dateTime: DateTime | null, keyboardInputValue?: string | undefined) => {
53
if (!dateTime) return setInputValue(null);
54
55
- const dateValue = valueFormat ? dateTime.toFormat(valueFormat) : dateTime.toJSDate();
+ const dateValue = valueFormat ? dateTime.toFormat(valueFormat) : dateTime.startOf('day').toJSDate();
56
57
if (formikProps?.setFieldValue) {
58
if (!dateTime.isValid) {
0 commit comments